protected virtual async Task <List <TEntity> > GetAll <TEntity, TPrimaryKey, TGetAllInput>(IQueryable <TEntity> queryable, TGetAllInput input = null) where TEntity : class, IEntity <TPrimaryKey> where TGetAllInput : class, IPageQueryItems { return(await QueryableStatics.GetAll <TEntity, TPrimaryKey, TGetAllInput>(queryable, input)); }
protected virtual async Task <PagedResultDto <TEntityDto> > GetAll <TEntity, TPrimaryKey, TGetAllInput, TEntityDto>( IQueryable <TEntity> queryable, TGetAllInput input = null ) where TEntity : class, IEntity <TPrimaryKey> where TGetAllInput : class, IPageQueryItems { return(await QueryableStatics.GetAll <TEntity, TPrimaryKey, TGetAllInput, TEntityDto>(queryable, Map <TEntityDto>, input)); }