public IActionResult DeleteAttendee(int groupId, int subgroupId, int attendeeId)
        {
            var attendeeEntity = _registrationRepository.GetAttendee(subgroupId, attendeeId);

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

            _registrationRepository.DeleteAttendee(attendeeEntity);

            if (!_registrationRepository.Save())
            {
                return(StatusCode(500, "A problem happened while handling your request."));
            }

            return(NoContent());
        }