자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
자주 사용되는 메소드들
public IActionResult CreateWork(CreateWorkDto createWorkDto) { if (ModelState.IsValid) { developerRepository.AddWork(createWorkDto); return(RedirectToAction("ShowProjects")); } else { ViewBag.SprintTaskId = createWorkDto.SprintTaskId; ViewBag.userId = User.FindFirst(ClaimTypes.NameIdentifier).Value; return(View("CreateWork")); } }