public class ApplicationsController : ApiController { [HttpGet] public Guid GetID(string name) { } } This is my site Action Controller. public class DemoViewController : Controller { [HttpGet] public ActionResult GetID() { return View(); } Above Site action Controller is to used inside the Areas and My API Controllers to be used out side of Areas
@Html.ActionLink("Admin", "Index", "Meets", new { area = "Admin" }, null)
@Html.ActionLink("GetId", "Application", new { area = "" })
@Html.ActionLink("GetId", "Api", new { area = "SpecifyYourAreaName" })
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)