public async Task <IActionResult> DeleteUser([FromRoute] string id)
        {
            var userFromDb = await _registrationRepository.GetUser(id);

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

            var isDeleted = await _registrationRepository.DeleteUser(id);

            return(Ok(isDeleted));
        }