protected override PartialViewResult PartialView(string viewName, object model)
        {
            if (model == null)
            {
                model = CurrentPage;
            }

            var transferModel = new DitFloTransferModel(model, _processorContexts);

            return(base.PartialView(viewName, transferModel));
        }
        protected virtual ActionResult CurrentPartialView(object model = null)
        {
            if (model == null)
            {
                model = this.CurrentPage;
            }

            var transferModel = new DitFloTransferModel(model, this._resolverContexts);

            var viewName = this.ControllerContext.RouteData.Values["action"].ToString();

            if (this.ViewExists(viewName, true))
            {
                return(this.PartialView(viewName, transferModel));
            }

            var empty = string.Empty;

            return(this.Content(empty));
        }