public async Task <int> CreateAsync(CommentGroup newObject) { _context.CommentGroups.Add(newObject); return(await _context.SaveChangesAsync()); }
public async Task <int> CreateAsync(Customer newObject) { _context.Customers.Add(newObject); return(await _context.SaveChangesAsync()); }
public async Task <int> CreateAsync(Convenience newObject) { _context.Conveniences.Add(newObject); return(await _context.SaveChangesAsync()); }
public async Task <int> CreateAsync(Policy newObject) { _context.Policies.Add(newObject); return(await _context.SaveChangesAsync()); }
public async Task <int> CreateAsync(RoomType newObject) { _context.RoomTypes.Add(newObject); return(await _context.SaveChangesAsync()); }
public async Task <int> CreateAsync(Accommodation newObject) { _context.Accommodations.Add(newObject); return(await _context.SaveChangesAsync()); }
public async Task <int> CreateAsync(Registration newObject) { _context.Registrations.Add(newObject); return(await _context.SaveChangesAsync()); }