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