Hi,
I have a BLL layer. I will first describe what I am doing currently about my coding. For example, if I am gonna do some operations about students I create the BLL object first :
BLL.Student manageStudent = new BLL.Student();
Then I need to use the proper method of the BLL object to do some action such as:
manageStudent.AddToSection(StudentId, SectionId);
That means I had to include StudentId and SectionId.
However, when I think about it, what makes sense to me is that first creating a StudentInfo object, which will fetch the student record from db:
StudentInfo myStudent = new StudentInfo(StudentId);
And then I will just need to use the method of the student object like this:
myStudent.AddToSection(SectionId);
I need your suggestions about the design of the classes. Also, is it ...
Go to the complete details ...