migrate RenderPage from MVC to razorengine