Are there other ways I can return raw html from controller? As opposed to just using viewbag. like below:
public class HomeController : Controller { publ
That looks fine, unless you want to pass it as Model string
public class HomeController : Controller { public ActionResult Index() { string model = ""; return View(model); } } @model string @{ ViewBag.Title = "Index"; } @Html.Raw(Model)