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