public bool Any <T>(Expression <Func <T, bool> > exp) where T : Entity { return(_db.Set <T>().Any(exp)); }
public void Add(T t) { _db.Set <T>().Add(t); }