Пример #1
0
 public HotelsController(TestingEstrategyTurismDbContext context)
 {
     _context         = context;
     _hotelRepository = new HotelRepository(_context);
     _hotelAppService = new HotelAppService(_hotelRepository);
 }
Пример #2
0
 public HotelRepository(TestingEstrategyTurismDbContext testingEstrategyTurismDbContext)
 {
     _context = testingEstrategyTurismDbContext;
 }