public IQueryable <T> Get <T>() where T : class, IView
        {
            _db.Dispose();
            _db = new WaiterManagementContext();

            return(_db.Set <T>());
        }
Ejemplo n.º 2
0
 public UnitOfWork()
 {
     _dbContext = new WaiterManagementContext();
 }
 public ViewProvider()
 {
     _db = new WaiterManagementContext();
 }