Ejemplo n.º 1
0
        TicketDetailModel GetViewTicketModel(TicketDetailDto ticket)
        {
            var model = new TicketDetailModel();

            model.Ticket = ticket;
            model.AddCommentSpecification = TempData.TryGet <AddCommentSpecification>(CommentController.CommentSpecKey);
            model.AddCommentResponse      = TempData.TryGet <AddCommentResponse>(CommentController.CommentResponseKey);
            return(model);
        }
Ejemplo n.º 2
0
        public ActionResult Detail()
        {
            TicketDetailModel obj = new TicketDetailModel();
            obj.Id = 02;
            obj.IssueType = "Error";
            obj.ModuleId = "001";
            obj.ProductId = "002";
            obj.SeverityCode = "003";
            obj.Title = "TicketIssue";
            obj.Version = "xyz";
            obj.Description = "jkhdasjdkssd";
            obj.DueDate = "05/17/2016";
            //  ViewBag.data = obj;

            return View(obj);
        }