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