Пример #1
0
 public async Task <List <DTO.Schooling> > AllForMaterialAsync(int materialId)
 {
     return((await Uow.Schooling.AllForMaterialAsync(materialId))
            .Select(e => SchoolingMapper.MapFromInternal(e)).ToList());
 }
Пример #2
0
 public async Task <List <BLL.App.DTO.Schooling> > AllForUserAsync(int userId)
 {
     return((await Uow.Schooling.AllForUserAsync(userId)).Select(e => SchoolingMapper.MapFromInternal(e)).ToList());
 }