Esempio n. 1
0
 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());
 }
Esempio n. 2
0
 public override async Task <BLL.App.DTO.UserOnAddress> FindAsync(params object[] id)
 {
     return(UserOnAddressMapper.MapFromDAL(await Uow.UserOnAddresses.FindAsync(id)));
 }