private DetailPartialModel GetDetailPartialModel( )
 {
     var d = new DetailPartialModel
     {
         Name = "asdfasdf",
         Title = "the best part of the web",
         Url = "the-best-part-of-the-web",
         Lock = false,
         LockedBy = "Justin",
         Status = "Edit",
         AssignedTo = "Justin"
     };
     return d;
 }
 public ActionResult Post(string name , string Title, string Url, string lockedBy, string status, string assignedTo  )
 {
     var d = new DetailPartialModel
     {
         Name = name,
         Title = Title,
         Url = Url,
         Lock = false,
         LockedBy = "Justin",
         Status = "Edit",
         AssignedTo = "Justin"
     };
     return PartialView("DetailPartial", d);
 }
Exemplo n.º 3
0
        public ActionResult Post(string name, string Title, string Url, string lockedBy, string status, string assignedTo)
        {
            var d = new DetailPartialModel
            {
                Name       = name,
                Title      = Title,
                Url        = Url,
                Lock       = false,
                LockedBy   = "Justin",
                Status     = "Edit",
                AssignedTo = "Justin"
            };

            return(PartialView("DetailPartial", d));
        }
Exemplo n.º 4
0
        private DetailPartialModel GetDetailPartialModel( )
        {
            var d = new DetailPartialModel
            {
                Name       = "asdfasdf",
                Title      = "the best part of the web",
                Url        = "the-best-part-of-the-web",
                Lock       = false,
                LockedBy   = "Justin",
                Status     = "Edit",
                AssignedTo = "Justin"
            };

            return(d);
        }