Esempio n. 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestApp.Repository.ClientRepository"/> class.
 /// </summary>
 public ClientRepository()
 {
     _context = new HotelEntities();
     _treatmentRepository = new TreatmentRepository();
 }
Esempio n. 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestApp.Repository.ClientRepository"/> class.
 /// </summary>
 public ClientRepository()
 {
     _context             = new HotelEntities();
     _treatmentRepository = new TreatmentRepository();
 }
Esempio n. 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="RestApp.Controllers.TreatmentsController"/> class.
 /// </summary>
 public TreatmentsController()
 {
     _repository = new TreatmentRepository();
 }