auction improvements

This commit is contained in:
Loretta 2024-11-15 06:15:34 +01:00
parent 3197542c83
commit 1e2856c565
2 changed files with 22 additions and 1 deletions

View File

@ -1,9 +1,15 @@
using Mango.Nop.Core.Interfaces;
using Nop.Data;
namespace Mango.Nop.Core.Repositories;
public class MgDbContextBase : IMgDbContextBase
{
protected INopDataProvider DataProvider;
public MgDbContextBase(INopDataProvider dataProvider)
{
DataProvider = dataProvider;
}
}

View File

@ -0,0 +1,15 @@
using Mango.Nop.Core.Interfaces;
using Nop.Core;
using Nop.Core.Caching;
using Nop.Core.Configuration;
using Nop.Core.Events;
using Nop.Data;
namespace Mango.Nop.Core.Repositories;
public class MgDbTableBase<TEntity>: EntityRepository<TEntity>, IMgDbTableBase where TEntity : BaseEntity
{
public MgDbTableBase(IEventPublisher eventPublisher, INopDataProvider dataProvider, IShortTermCacheManager shortTermCacheManager, IStaticCacheManager staticCacheManager, AppSettings appSettings) : base(eventPublisher, dataProvider, shortTermCacheManager, staticCacheManager, appSettings)
{
}
}