public ActionResult CustomerDetails() { var model = new TestUrlModel() { UrlInvocation = "Url.Action(\"AddCustomer\", new { _external_ = true })", GeneratedActionUrl = Url.Action("AddCustomer", new { _external_ = true }), ShouldBeActionUrl = "/TestArea/Test/AddCustomer", DependencyResult = _importantClass.GenerateText("CustomerDetails"), }; return View(model); }
public ActionResult AddCustomer(object o) { var model = new TestUrlModel() { UrlInvocation = "Url.Action(\"AddCustomer\")", GeneratedActionUrl = Url.Action("AddCustomer"), ShouldBeActionUrl = "/" + OrdersConsts.ServiceName + "/TestArea/Test/AddCustomer", DependencyResult = _importantClass.GenerateText("AddCustomer"), }; return Json(model, JsonRequestBehavior.AllowGet); }
public ActionResult Summary(Guid id) { var model = new TestUrlModel() { UrlInvocation = "Url.Action(\"CustomersDetails\")", GeneratedActionUrl = Url.Action("CustomerDetails"), ShouldBeActionUrl = "/" + OrdersConsts.ServiceName + "/TestArea/Test/CustomersDetails", DependencyResult = _importantClass.GenerateText("Summary"), }; var vm = new ViewModel(UIKeysAreaTest.Summary.OrdersDiv, p => p.Html.Action("Summary", new { model })); return ViewModel(vm); }