Exemplo n.º 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();
 }
Exemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestApp.Repository.AccommodationRepository"/> class.
 /// </summary>
 public AccommodationRepository()
 {
     _clientRepository = new ClientRepository();
     _roomRepository   = new RoomRepository();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestApp.Controllers.RoomsController"/> class.
 /// </summary>
 public RoomsController()
 {
     _repository = new RoomRepository();
 }