예제 #1
0
 public List <Address> GetAddressesByDisctrict(int districtID)
 {
     return(_addressDAL.GetAll(a => a.DistrictID == districtID).ToList());
 }
예제 #2
0
 public List <Address> GetList()
 {
     return(_addressDAL.GetAll().ToList());
 }