title: Controller not working in mvc 4
body: <p>I have a controller named as UserController and in that only Index action is being called 
  another action added like as '<strong>home action</strong>' is not being called  and <strong>either calling actionresult/string or returning view</strong></p>
  
  <p>I am getting this error</p>
  
  <p><strong>while running at Google  Chrome</strong></p>
  
  <blockquote>
    <p>{"Message":"No HTTP resource was found that matches the request URI
    /user/home'.","MessageDetail":"No type was found that matches the
    controller named 'home'."}</p>
  </blockquote>
  
  <p><strong>And running at Mozilla Firefox</strong></p>
  
  <blockquote>
    <p>Whoops! The page could not be found. Try giving it another chance
    below.</p>
  </blockquote>
  
  <p><strong>Here is my whole Controller Code:</strong></p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Web;
  using System.Web.Mvc;
  
  namespace Mvc4Application1.Controllers
  {
      public class UserController : Controller
      {
          //
          // GET: /User/
          public ActionResult Index()
          {
              return View();
          }
  
          public ActionResult AddPlace()
          {
              return View();
          }
  
          public ActionResult UpdatePlace()
          {
              return View();
          }
  
          public ActionResult DeletePlace()
          {
              return View();
          } 
      }
  }
  </code></pre>
  
  <p><strong>Here is RouteConfig.cs file</strong> </p>
  
  <pre><code> routes.MapRoute(
       name: "Default",
        url: "{controller}/{action}/{id}",
   defaults: new 
  { controller = "Home", action = "Index",
    id=UrlParameter.Optional }
  </code></pre>