29 lines
590 B
C#
29 lines
590 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using Nop.Web.Framework.Components;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Nop.Plugin.Misc.AuctionPlugin.Components
|
|
{
|
|
|
|
[ViewComponent(Name = "LiveAnnouncementView")]
|
|
|
|
public class AnnouncementViewComponent : NopViewComponent
|
|
|
|
{
|
|
|
|
public IViewComponentResult Invoke(string widgetZone, object additionalData)
|
|
|
|
{
|
|
|
|
return View("~/Plugins/Misc.AuctionPlugin/Views/LiveAnnouncementView/LiveAnnouncement.cshtml");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|