public void DeleteUserStory(int id, int projectId) { var userStory = _projectDAO.GetUserStoryById(id); if (userStory.State != UserStoryState.BACKLOG) { throw new CheckedException("Cannot üsed user stories"); } _projectDAO.DeleteUserStory(id, projectId); }