public ListVM(ControllerEditable <K, T, R> controller, ListIM <K, T, R> input) : base(controller)
        {
            Input = input;
            string href;
            var    title = controller.Localizer2Garin.Localize("common.breadcrumb.main");

            if (title != "")
            {
                href = controller.Url.RouteUrlWithCulture("Page", new { page = "index.html" });
                Breadcrumb.Items.Add(new MenuItem(href, new HtmlString(title)));
            }

            href = controller.Url.RouteUrlWithCulture("Admin", new { controller = "sites" });
            Breadcrumb.Items.Add(new MenuItem(href, controller.Localizer2Garin.LocalizeHtml("common.breadcrumb.admin")));

            Breadcrumb.Items.Add(new MenuItem(null, GetH1()));
        }
 public virtual IActionResult List(ListIM <K, T, R> input)
 {
     Logger.LogTrace("List");
     return(input.ToActionResult(this));
 }