public override async Task <List <DAL.App.DTO.UserOnAddress> > AllAsync() { return(await RepositoryDbSet .Include(u => u.Address) .Include(u => u.AppUser) .Select(e => UserOnAddressMapper.MapFromDomain(e)).ToListAsync()); }
public override async Task <BLL.App.DTO.UserOnAddress> FindAsync(params object[] id) { return(UserOnAddressMapper.MapFromDAL(await Uow.UserOnAddresses.FindAsync(id))); }