Example #1
0
 public async Task CreateAmentity(Amentity amentity)
 {
     _context.Amenities.Add(amentity);
     await _context.SaveChangesAsync();
 }
Example #2
0
 public async Task CreateHotelRoom(HotelRoom hotelRoom)
 {
     _context.HotelRooms.Add(hotelRoom);
     await _context.SaveChangesAsync();
 }
Example #3
0
 public async Task CreateHotel(HotelDto hotel)
 {
     _context.Hotels.Add(hotel);
     await _context.SaveChangesAsync();
 }
Example #4
0
 public async Task CreateRoom(Room room)
 {
     _context.Rooms.Add(room);
     await _context.SaveChangesAsync();
 }