public async Task <List <Entry> > GetList(ExpFunc exp) { return(await _dbSet.Include(e => e.User).Where(exp).ToListAsync()); }
public async Task <Entry> GetOne(ExpFunc exp) { return(await _dbSet.Include(e => e.User).SingleOrDefaultAsync(exp)); }
public int Exp(int level) { return((int)(double)ExpFunc.Call(level)[0]); }