title: Usage of ASP.NET MVC for dual presentation and rest services.
body: <p>I am developing the ASP.NET MVC5 web-application. Let's say that I already implemented admin panel with CMS in presentation layer : admin has full access to all CRUD operations. </p>
  
  <p>Also I need to create Restful API that will only operate with HttpGet requests. Should I create another WebAPI based project in solution or simply can do following:</p>
  
  <p><strong>RestfulController : Controller</strong></p>
  
  <pre><code>public ActionResult MyAwesomeMethod(int id){
   return Json(model, JsonRequestBehavior.AllowGet); 
  }
  </code></pre>
  
  <p>Or even if i need to support HttpPost request too, then, can I do the following:</p>
  
  <pre><code>[HttpPost]
  public void MyBeautifulMethod(string name, string department){
   //TODO staff with the data...
  }
  </code></pre>
  
  <p>Is it allowed approach or do I need to use only WebAPI? </p>