2

How can I retrieve a view object in the same project from any controller?

This StackOverflow answer suggests using System.Web.Mvc.ViewEngines.Engines.FindView but I can't derive an System.Web.Mvc.ControllerContext instance from System.Web.Http.ApiController.

I'm trying to get the view object to call Render on it to get it out as a string.

Community
  • 1
  • 1
xster
  • 6,269
  • 9
  • 55
  • 60

0 Answers0