ildar-shaymukhametov_grandnode-refactorings/Grand.Framework/Components/BaseViewComponent.cs
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.ViewComponents;

namespace Grand.Framework.Components
{
    public abstract class BaseViewComponent : ViewComponent
    {
        public new ViewViewComponentResult View<TModel>(string viewName, TModel model)
        {
            return base.View<TModel>(viewName, model);
        }

        public new ViewViewComponentResult View<TModel>(TModel model)
        {
            return base.View<TModel>(model);
        }

        public new ViewViewComponentResult View(string viewName)
        {
            return base.View(viewName);
        }
    }
}
