示例#1
0
 public IActionResult CreateSprint(CreateSprintDto createSprintDto)
 {
     teamLeaderRepository.AddSprint(createSprintDto);
     return(RedirectToAction("ShowSprints", new RouteValueDictionary(
                                 new { controller = "TeamLeader", action = "ShowSprints", Id = createSprintDto.ProjectId })));
 }