Пример #1
0
 private void Dispose(bool disposing)
 {
     if (disposing)
     {
         if (_context != null)
         {
             _context.Dispose();
             _context = null;
         }
     }
 }
Пример #2
0
 public UnitOfWork(RoomBookingDataContext context)
 {
     _context = context;
 }
Пример #3
0
 public UserRepository(RoomBookingDataContext context)
 {
     this._context = context;
 }