public ActionResult Create(OrderViewModel model) { //if user's zone is not able to order, return with error if (!ZoneSync.CheckUserZoneForISPOrdering(model.Order.Client)) { TempData["IsAbleToOrderForUser"] = false; return(RedirectToAction("Create")); } var orderUrl = new UrlHelper(HttpContext.Request.RequestContext).Action("Edit", "Order", new { area = "ISPAdmin" }, Request.Url.Scheme); var savedOrder = svc.SaveOrder(model, "ISPUser", orderUrl, User.Identity.GetUserId()); return(RedirectToAction("Details", new { id = savedOrder.OrderId })); }