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

            return(_db.Set <T>());
        }
예제 #2
0
 public IQueryable <T> All <T>() where T : class, IEntity
 {
     return(_dbContext.Set <T>());
 }