Example #1
0
 public async Task <IReadOnlyDictionary <int, AcademyIncome1CBGU> > GetAcademyIncome1CBGUsAsync(
     [Service] IAcademyIncome1CBGURepository repository,
     IReadOnlyCollection <int> academyIncome1CBGUIds,
     CancellationToken cancellationToken)
 {
     return(await repository.GetAcademyIncome1CBGUsAsync(academyIncome1CBGUIds, cancellationToken));
 }
Example #2
0
 public AcademyIncome1CBGU GetAcademyIncome1CBGU([Service] IAcademyIncome1CBGURepository repository, int id)
 {
     return(repository.GetAcademyIncome1CBGU(id));
 }
Example #3
0
        //public IQueryable<AcademyIncome1CBGU> GetAcademyIncome1CBGUs([Service]IAcademyIncome1CBGURepository repository, string AcademyСategory)
        //{
        //    return repository.GetAcademyIncome1CBGUs(AcademyСategory);
        //}

        public IQueryable <AcademyIncome1CBGU> GetAcademyIncome1CBGUs([Service] IAcademyIncome1CBGURepository repository)
        {
            return(repository.GetAcademyIncome1CBGUs());
        }