Пример #1
0
 public JsonResult SomeAction(Reasonable obj)
 {
     return(Json(
                new
     {
         asdf = "lala"
     }
                ));
 }
Пример #2
0
 public JsonResult SomeAction(Reasonable obj)
 {
     return Json(
         new
             {
                 asdf="lala"
             }
         );
 }
Пример #3
0
        public ActionResult SomeAction()
        {
            var x = new Reasonable()
            {
                StringProp = "call me ",
                NumberProp = 123
            };

            return(View(x));
        }
Пример #4
0
        public ActionResult SomeAction()
        {
            var x = new Reasonable()
            {
                StringProp = "call me ",
                NumberProp = 123

            };
            return View(x);
        }