20 lines
470 B
C#
20 lines
470 B
C#
using Mango.Nop.Core.Interfaces;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Nop.Core.Domain.Catalog;
|
|
using Nop.Core.Events;
|
|
using Nop.Data;
|
|
using Nop.Services.Events;
|
|
|
|
namespace Mango.Nop.Core.Repositories;
|
|
|
|
|
|
public class MgDbContextBase : IMgDbContextBase
|
|
{
|
|
protected INopDataProvider DataProvider;
|
|
//protected IHttpContextAccessor HttpContextAccessor;
|
|
|
|
public MgDbContextBase(INopDataProvider dataProvider)
|
|
{
|
|
DataProvider = dataProvider;
|
|
}
|
|
} |