Example #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestApp.Repository.RoomRepository"/> class.
 /// </summary>
 public RoomRepository()
 {
     context = new HotelEntities();
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestApp.Repository.ClientRepository"/> class.
 /// </summary>
 public ClientRepository()
 {
     _context = new HotelEntities();
     _treatmentRepository = new TreatmentRepository();
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="RestApp.Repository.TreatmentRepository"/> class.
 /// </summary>
 public TreatmentRepository()
 {
     context = new HotelEntities();
 }