Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestApp.Controllers.AccommodationController"/> class.
 /// </summary>
 public AccommodationController()
 {
     _repository = new AccommodationRepository();
     _clientRepository = new ClientRepository();
     _roomRepository = new RoomRepository();
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestApp.Controllers.ClientsController"/> class.
 /// </summary>
 public ClientsController()
 {
     _repository = new ClientRepository();
 }