Click here to Skip to main content
15,792,628 members

Comments by bradut (Top 1 by date)

bradut 8-Dec-11 13:46pm View    
I wonder why the presentation layer should know about the business layer in
txtAge.Text = PersonBLL.GetAge(firstname, lastname).ToString();
I thought that the object itself should communicate with the BLL, like:
txtAge.Text = person.Age;
so that the UI would be completely agnostic of how things are done.