public Expression <Func <T, bool> > GetByIdPredicate(long id) => RepositoryUtils.GetByIdPredicate <T>(id);
public virtual bool Exists(int id) { var predicate = RepositoryUtils.GetByIdPredicate <T>(id); return(FindAll().Any(predicate)); }
public Expression <Func <T, bool> > GetByIdPredicate(long id) => RepositoryUtils.GetByIdPredicate <T>(id);
public virtual bool Exists(int id) { var predicate = RepositoryUtils.GetByIdPredicate <T>(id); return(FindAll().Any(predicate)); }