public async Task <Attendance> CreateNewAttendance(Attendance attendance)
        {
            try
            {
                var res = await _repository.CreateNewAttendance(attendance);

                return(res);
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }