public async Task AddAsync(Apartment entity)
 {
     _context.Set <Apartment>().Add(entity);
     await _context.SaveChangesAsync();
 }
Esempio n. 2
0
 public async Task AddAsync(Location entity)
 {
     _context.Set <Location>().Add(entity);
     await _context.SaveChangesAsync();
 }