public ActionResult Create(CreateNewProject cmd) { var service = new ScrumrCommandServiceClient(); service.ExecuteCommand(cmd); return RedirectToAction("Details", new {cmd.ProjectId}); }
public ActionResult AddTaskToStory(Guid projectId, Guid sprintId, Guid stageId, Guid storyId, String description) { var taskId = Guid.NewGuid(); var cmd = new AddNewTaskToStory(projectId, sprintId, stageId, storyId, taskId, description); var service = new ScrumrCommandServiceClient(); service.ExecuteCommand(cmd); return Json(taskId); }
public ActionResult AddStory(Guid projectId, Guid sprintId, string description) { Guid storyId = Guid.NewGuid(); var cmd = new AddNewStoryToSprint(projectId, sprintId, storyId, description); var service = new ScrumrCommandServiceClient(); service.ExecuteCommand(cmd); return Json(storyId); }
public ActionResult AddStory(Guid projectId, Guid sprintId, string description) { Guid storyId = Guid.NewGuid(); var cmd = new AddNewStoryToSprint(projectId, sprintId, storyId, description); var service = new ScrumrCommandServiceClient(); service.ExecuteCommand(cmd); return(Json(storyId)); }
public ActionResult AddTaskToStory(Guid projectId, Guid sprintId, Guid stageId, Guid storyId, String description) { var taskId = Guid.NewGuid(); var cmd = new AddNewTaskToStory(projectId, sprintId, stageId, storyId, taskId, description); var service = new ScrumrCommandServiceClient(); service.ExecuteCommand(cmd); return(Json(taskId)); }
public ActionResult Create(CreateNewProject createCommand) { var service = new ScrumrCommandServiceClient(); var sprintId = Guid.NewGuid(); service.ExecuteCommand(createCommand); service.ExecuteCommand(new AddNewSprintToProject(createCommand.ProjectId, sprintId, "Sprint 0", DateTime.UtcNow, DateTime.UtcNow.AddDays(7 * 4))); service.ExecuteCommand(new StartSprint(createCommand.ProjectId, sprintId)); return(RedirectToAction("ScrumBoard", new { createCommand.ProjectId })); }
public ActionResult Create(CreateNewProject createCommand) { var service = new ScrumrCommandServiceClient(); var sprintId = Guid.NewGuid(); service.ExecuteCommand(createCommand); service.ExecuteCommand(new AddNewSprintToProject(createCommand.ProjectId, sprintId, "Sprint 0", DateTime.UtcNow, DateTime.UtcNow.AddDays(7 * 4))); service.ExecuteCommand(new StartSprint(createCommand.ProjectId, sprintId)); return RedirectToAction("ScrumBoard", new {createCommand.ProjectId}); }