Are there other ways I can return raw html from controller? As opposed to just using viewbag. like below:
public class HomeController : Controller { publ
Simply create a property in your view model of type MvcHtmlString. You won't need to Html.Raw it then either.