public IRenderableView BuildView() { if (_headers.IsAjaxRequest() || _chains.IsInPartial()) { return(_factory.GetPartialView()); } return(_factory.GetView()); }
public void RenderPartial() { _viewFactory.GetPartialView().Render(); }
public IRenderableView BuildView() { if (_headers.IsAjaxRequest() || _chains.IsInPartial()) { return(_factory.GetPartialView()); } return(_factory.GetView()); }
public void RenderPartial() { _viewFactory.GetPartialView().Render(); }