public ActionResult DeleteAuthor(Guid studentId)
        {
            var studentFromRepo = _attendanceRepository.GetStudentById(studentId);

            if (studentFromRepo == null)
            {
                return(NotFound());
            }

            _attendanceRepository.DeleteStudent(studentFromRepo);

            _attendanceRepository.Commit();

            return(NoContent());
        }