示例#1
0
 public async Task <Dog> FindForUserAsync(int id, int userId)
 {
     return(DogMapper.MapFromInternal(await Uow.Dog.FindForUserAsync(id, userId)));
 }
示例#2
0
 public async Task <List <Dog> > AllForBreedAsync(int breedId)
 {
     return((await Uow.Dog.AllForBreedAsync(breedId))
            .Select(e => DogMapper.MapFromInternal(e)).ToList());
 }
示例#3
0
 public async Task <List <BLL.App.DTO.Dog> > AllForUserAsync(int userId)
 {
     return((await Uow.Dog.AllForUserAsync(userId)).Select(e => DogMapper.MapFromInternal(e)).ToList());
 }