Try your search with a different keyword or use * as a wildcard.
using Microsoft.AspNetCore.Mvc;
using Nop.Web.Factories;
using Nop.Web.Framework.Components;
namespace Nop.Web.Components;
public partial class FooterViewComponent : NopViewComponent
{
protected readonly ICommonModelFactory _commonModelFactory;
public FooterViewComponent(ICommonModelFactory commonModelFactory)
{
_commonModelFactory = commonModelFactory;
}
public async Task InvokeAsync()
{
var model = await _commonModelFactory.PrepareFooterModelAsync();
return View(model);
}
}