示例#1
0
        // GET: ActionPlan
        public ActionResult Index(string Comment = "Enter your comment...")
        {
            var actionPlan = new ActionPlanModelView();

            actionPlan.Comment = Comment;
            return(View(actionPlan));
        }
示例#2
0
        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));
        }