public ActionResult <AttendanceDto> CreateStudent(AttendanceCreationDto student)
        {
            var studentEntity = _mapper.Map <Entities.Attendance>(student);

            _attendanceRepository.AddStudent(studentEntity);
            _attendanceRepository.Commit();

            var studentToReturn = _mapper.Map <AttendanceDto>(studentEntity);

            return(CreatedAtRoute("GetStudent",
                                  new
            {
                studentId = studentToReturn.Id
            }, studentToReturn

                                  ));
        }