// GET: ActionPlan public ActionResult Index(string Comment = "Enter your comment...") { var actionPlan = new ActionPlanModelView(); actionPlan.Comment = Comment; return(View(actionPlan)); }
public ActionResult Search(string Comment) { var actionPlan = new ActionPlanModelView(); var actionDB = GetActionPlan(Comment); if (actionDB != null) { actionPlan.Comment = Comment; actionPlan.sprintName = actionDB.sprintName; actionPlan.sprintCommentId = actionDB.sprintCommentId; actionPlan.sprintComment = actionDB.sprintComment; actionPlan.decsions = actionDB.Decisions.Split(',').ToList(); } return(View("Index", actionPlan)); }