Click here to Skip to main content
11,931,104 members (62,428 online)
See more: MVC
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
namespace MvcMovie.Controllers
    public class HelloWorldController : Controller
        // GET: /HelloWorld/

        public ActionResult Index()
            return View();

        public ActionResult Welcome(string name, int numTimes=1)
            ViewBag.NumTimes = numTimes;
            return View();
Closed because this post is not a question, or has not been phrased in a way that allows a reasonable answer to be provided. Reported by Richard Deeming, __TR__, ProgramFOX, Zoltán Zörgő, SoMad on Friday, December 12, 2014 3:28am
Posted 30-Mar-13 19:31pm
Edited 12-Dec-14 3:28am

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151126.1 | Last Updated 31 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100