public ActionResult BootBox(string _) { if (Request.IsAjaxRequest()) { return(MessageBox.BootBox("A message from Server with Ajax request", BootBoxType.Alert)); } else { MessageBox.BootBox("A message from Server", BootBoxType.Alert); return(View()); } }