public EntitiesWithTotal <User> Paged([FromUri] PagedFilter filter) { var page = filter != null ? filter.PageNumber : 1; var pageSize = filter != null ? filter.PageSize : 25; return(_service.GetLocalUsers(page, pageSize)); }
public EntitiesWithTotal <User> All([FromUri] PagedFilter filter) { return(_service.GetExternalUsers(filter.PageNumber, filter.PageSize)); }