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