public bool IsExist(Expression <Func <T, bool> > exp)
 {
     return(_context.Set <T>().Any(exp));
 }
Exemplo n.º 2
0
 public bool IsExist <T>(Expression <Func <T, bool> > exp) where T : class
 {
     return(_context.Set <T>().Any(exp));
 }