-
Notifications
You must be signed in to change notification settings - Fork 1
/
Plugin.cs
40 lines (30 loc) · 870 Bytes
/
Plugin.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
using Nop.Core;
using Nop.Plugin.Misc.PersianCalendar.Infrastructure;
using Nop.Services.Common;
using Nop.Services.Plugins;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Nop.Plugin.Misc.PersianCalendar
{
public class Plugin : BasePlugin, IMiscPlugin
{
#region Fields
private readonly IWebHelper _webHelper;
#endregion
#region Ctor
public Plugin(IWebHelper webHelper)
{
_webHelper = webHelper;
}
#endregion
#region Methods
public override string GetConfigurationPageUrl()
{
return _webHelper.GetStoreLocation() + DefaultPlugin.GetConfigurationPageUrl;
}
#endregion
}
}