public async Task <IActionResult> DeleteUserStory(int projectId, int id)
        {
            if (!await _projectManagerRepository.ProjectExistAsync(projectId))
            {
                return(NotFound());
            }

            var userStoryEntity = await _projectManagerRepository.GetUserStoryByIdAsync(projectId, id);

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

            _projectManagerRepository.DeleteUserStory(userStoryEntity);

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

            return(NoContent());
        }