Esempio n. 1
0
        public IActionResult RemoveAttendance(int lessonId, int studentId)
        {
            _lessonService.RemoveAttendance(lessonId, studentId);

            _logger.LogInformation("{user} removed student {student} to lesson {lesson}",
                                   User.Identity.Name, studentId, lessonId);

            return(Ok());
        }