Пример #1
0
 //*******************Lazy binding
 public BLModel.Paged.Profession GetAllPagedProfession(int skip, int take, int _clientID)
 {
     return(new BLModel.Paged.Profession
     {
         TotalCount = _professionRepository.GetAllPagedProfessionByClientIDCount(_clientID),
         Professions = _professionRepository.GetAllPagedProfessionByClientID(skip, take, _clientID).ToList()
     });
 }