예제 #1
0
 public BaseRepository(HotelAdminContext context)
 {
     _context = context;
 }
예제 #2
0
 public HotelRepository(HotelAdminContext context) : base(context)
 {
 }
예제 #3
0
 public UnitOfWork(HotelAdminContext context)
 {
     _context = context;
 }
 public EmergencyContactRepository(HotelAdminContext context) : base(context)
 {
 }
예제 #5
0
 public BookingRoomRepository(HotelAdminContext context) : base(context)
 {
 }
예제 #6
0
 public HotelsController(HotelAdminContext context, IHotelService hotelService, IMapper mapper)
 {
     _context      = context;
     _hotelService = hotelService;
     _mapper       = mapper;
 }