public IHttpActionResult GetAllRestaurantWaiters(int page = Page, int pagesize = PageSize) { PagedResultsDto waiters; waiters = _userFacade.GetAllRestaurantWaiters(UserId, page, pagesize, Language); var data = Mapper.Map <List <RestaurantWaiterModel> >(waiters.Data); return(PagedResponse("GetAllItemsForCategory", page, pagesize, waiters.TotalCount, data)); }