public ExamModel GetAllExamsByTitle(string title) { repo = new sqlExamRepo(); return(repo.GetExamWithTitle(title)); }
public List <ExamModel> GetAllExamsByTeacherId(int id) { repo = new sqlExamRepo(); return(repo.GetAllExamsByTeacherId(id)); }