Esempio n. 1
0
 public async Task <Exam> GetAsync(string name)
 => await Exams.AsQueryable().FirstOrDefaultAsync(x => x.Name == name);
Esempio n. 2
0
 public async Task <IEnumerable <Exam> > BrowseAsync(string name = "")
 => await Exams.AsQueryable().ToListAsync();
Esempio n. 3
0
 public async Task <Exam> GetAsync(Guid id)
 => await Exams.AsQueryable().FirstOrDefaultAsync(x => x.Id == id);