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