public ActionResult SupportsEmbeddedHttpServer() { ViewBag.HttpActive = "active"; dynamic supports = new RavenTestService().SupportsEmbeddedHttpServer(); if (supports.success) { return View("supports_embedded_http_server"); } ViewBag.Error = supports.error; return View("does_not_supports_embedded_http_server"); }
public ActionResult IsEmbeddable() { ViewBag.EmbeddedActive = "active"; dynamic isEmbeddable = new RavenTestService().IsEmbeddable(); if (isEmbeddable.success) { return View("is_embeddable"); } ViewBag.Error = isEmbeddable.error; return View("is_not_embeddable"); }