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