23 lines
626 B
C#
23 lines
626 B
C#
// ViewComponent Class
|
|
using DocumentFormat.OpenXml.Wordprocessing;
|
|
using Microsoft.AspNetCore.Mvc;
|
|
using Newtonsoft.Json;
|
|
using Nop.Plugin.Misc.FruitBankPlugin.Areas.Admin.Models;
|
|
using Nop.Services.Plugins;
|
|
using Org.BouncyCastle.Asn1.Ocsp;
|
|
using System.ComponentModel;
|
|
using System.Text.Json;
|
|
|
|
namespace Nop.Plugin.Misc.FruitBankPlugin.Areas.Admin.Components
|
|
{
|
|
[ViewComponent(Name = "TestGridComponent")]
|
|
public class TestGridComponent : ViewComponent
|
|
{
|
|
public IViewComponentResult Invoke(TestGridModel model)
|
|
{
|
|
return View(model.ViewComponentLocation, model);
|
|
}
|
|
}
|
|
}
|
|
|