public List <_GenericEntity> GetEntitiesList([FromQuery] _GenericEntityFilter filter) { return(GenericEntityDataService.GetEntitiesList( _entityId: filter._EntityId, sort_FieldId: filter.Sort_FieldId, sortDirection: (SortDirections)filter.SortDirection, pageSize: filter.PageSize, pageNumber: filter.PageNumber )); }
public int GetEntitiesCount([FromQuery] _GenericEntityFilter filter) { return(GenericEntityDataService.GetEntitiesCount( _entityId: filter._EntityId )); }