Exemplo n.º 1
0
 public List <PhongBanDTO> GetSource()
 {
     return(db.SP_PhongBan_GetSource().Select(q => new PhongBanDTO
     {
         PhongBan_Id = q.PhongBan_Id,
         TenPhongBan = q.TenPhongBan,
         IDPhongBan = q.PhongBan_Id
     }).OrderBy(q => q.TenPhongBan).ToList());
 }