public static bool EntityExists(long id, IDefaultContext _context) { return(_context.Set <T>().Any(e => e.Id == id)); }
public virtual IQueryable <T> GetIQueryable() { return(_context.Set <T>().AsNoTracking()); }
public static bool EntityExists(long id, IDefaultContext _context) { return(_context.Set <T>().Any(e => e.Id == id)); }
public virtual IQueryable <T> GetIQueryable() { return(_context.Set <T>().AsNoTracking()); }