public Exam GetByExamCode(int examCode) { return(_context .Exams .Where(ExamSpecs.GetByExamCode(examCode)) .FirstOrDefault()); }
public Exam GetByExamName(string examName) { return(_context .Exams .Where(ExamSpecs.GetByExamName(examName)) .FirstOrDefault()); }
public Exam GetById(Guid id) { return(_context .Exams .Where(ExamSpecs.GetById(id)) .FirstOrDefault()); }