示例#1
0
 public ActionResult About()
 {
     var model = new AboutModel();
     model.Name = "scott allan";
     model.Location = "Maryland USA";
     return View(model);
 }
示例#2
0
 public ActionResult About()
 {
     var model = new AboutModel();
     model.Name = "Sean MC";
     model.Location = "Boston, MA";
     return View(model);
 }
示例#3
0
 public ActionResult About()
 {
     var model = new AboutModel();
     model.Name = "Icol";
     model.Location = "Kansas City, Mo.";
     return View(model);
 }
示例#4
0
 public ActionResult About()
 {
     var model = new AboutModel();
     model.Name = "Marc";
     model.Location = "Houston, TX";
     return View(model);
 }
        public ActionResult About()
        {
            var model = new AboutModel();
            model.Name = "Hasan Fahim Khan";
            model.Location = "Karachi, Pakistan";

            return View(model);
        }
示例#6
0
        public ActionResult About()
        {
            var model = new AboutModel();
            model.Name = "Kenny";
            model.Location = "Portsmouth, NH";

            return View(model);
        }
示例#7
0
        public ActionResult About()
        {
            var model = new AboutModel();
            model.Name = "Randy";
            model.Location = "Austin, Tx";

            return View(model);
        }
示例#8
0
        /*Authorize attribute w/o parameters says:
         * "Only authenticated users are authorized to
         * invoke this controller action
         */
        public ActionResult About()
        {
            var model = new AboutModel();
            model.Name = "Saso";
            model.Location = "Idrija, Slovenia";

            return View(model);
        }
示例#9
0
        public ActionResult About()
        {
            var model = new AboutModel();
            model.Name = "Pramod";
            model.Location = "Tempe,AZ";

            return View(model);
        }
示例#10
0
        public ActionResult About()
        {
            AboutModel about = new AboutModel();
            about.Name = "Rohith Gopi";
            about.Location = "Bangalore";

            return View(about);
        }
        public ActionResult About()
        {
            var model = new AboutModel();
            model.Name = "Johan";
            model.Location = "Helmond, Nederland";

            return View(model);
        }
        public ActionResult About()
        {
            var model = new AboutModel();
            model.Name = "Éder";
            model.Location = "Valinhos, Brasil";

            return View(model);
        }
示例#13
0
        public ActionResult About()
        {
            var model = new AboutModel();
            model.Name = "Philip";
            model.Location = "California, USA";

            return View(model);
        }
示例#14
0
 public ActionResult About()
 {
     /*ViewBag.Message = "Your app description page.";
     ViewBag.Location = "Maryland, USA";*/
     var model = new AboutModel();
     model.Name = "Yahir";
     model.Location = "Santo Domingo, DR";
     return View(model);
 }
示例#15
0
        public ActionResult About()
        {
            var model = new AboutModel();

            model.Name = "Kim";
            model.Location = "Georgia, USA";

            return View(model);
        }
示例#16
0
        public ActionResult About()
        {
            //ViewBag.Message = "Your application description page.";

            var model = new AboutModel();
            model.Name = "Алексей";
            model.Location = "Moskov";
            return View(model);
        }
示例#17
0
        public ActionResult About()
        {
            var model = new AboutModel
            {
                Name = "Viorel",
                Location = "Craiova, Romania"
            };

            return View(model);
        }
示例#18
0
        public ActionResult About()
        {
           ViewBag.Message = "Página de descripción de la aplicación.";
           ViewBag.MensajeParaElMundo = "Todo lo puedo en Cristo que me fotalece. Y soy más que vencedor en Cristo!";

            var model = new AboutModel();
            model.Name = "Kenneth";
            model.Location = "Ciuda Quesada, San Carlos";

            return View(model);
        }
示例#19
0
        public ActionResult About()
        {
            ViewBag.Message = "Your app description page.";
            ViewBag.DynamicInfo = "This is dynamic view bag info.";

            var aboutModel = new AboutModel();
            aboutModel.Name = "Kannan";
            aboutModel.Location = "Illinois, USA";

            return View(aboutModel);
            //return View();
        }
示例#20
0
        //[ChildActionOnly]
        //[OutputCache(Duration = 5)]
        //public ActionResult SayHello()
        //{
        //    return Content("Hello");
        //}
        public ActionResult About()
        {
            //Loosly typed
            //ViewBag.Message = "Your app description page.";
            //ViewBag.Location = "west st";
            //return View();

            //strongly typed
            var model = new AboutModel();
            model.Location = "west st, 11223";
            model.Name = "Brad";

            return View(model);
        }
示例#21
0
 public ActionResult About()
 {
     var model = new AboutModel { Location = "Basingstoke, UK", Name = "Jamie" };
     return View(model);
 }