public ActionResult(bool isRenderingContactUS = false) { //all your code here //and just before returning if(isRenderingContactUS) { return View("ContactUS"); } else { return View("Enquirenow"); } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)