Exemple #1
0
 public async Task <BLL.App.DTO.Location> FindForUserAsync(int id, int userId)
 {
     return(LocationMapper.MapFromDAL(await Uow.Location.FindForUserAsync(id, userId)));
 }
Exemple #2
0
 public async Task <List <BLL.App.DTO.Location> > AllForUserAsync(int userId)
 {
     return((await Uow.Location.AllForUserAsync(userId)).Select(e => LocationMapper.MapFromDAL(e)).ToList());
 }