public BLModel.Paged.Faculties GetAllFaculties(int skip, int take, int organizationID, int ClientID) { return(new BLModel.Paged.Faculties { FacultyDetails = _facultyRepository.GetAllFacultiesByOrganizationID(skip, take, organizationID, ClientID).ToList(), TotalCount = _facultyRepository.GetAllFacultiesByOrganizationIDCount(organizationID, ClientID) }); }