Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
Frequently Used Methods
public async Task <bool> AddStudentAsync(StudentAddModel studentToAdd) { var student = _mapper.Map <Student>(studentToAdd); if (await ValidStudent(studentToAdd)) { return(await _studentRepository.AddSubjectStudentAsync(student, studentToAdd.SubjectId)); } return(false); }