public StockRemindService(IDbAccessor omsAccessor, IWorkContext context, IDistributedCache cache, IHubContext <HubContext, IHubContext> hubContext, ICommonService common, IStockRemindNotify remindNotify, IConfiguration configuration) { this.omsAccessor = omsAccessor; user = context.CurrentUser; this.cache = cache; this.hubContext = hubContext; this.common = common; this.remindNotify = remindNotify; this.conn = configuration["ConnectionStrings:DefaultConnection"]; }
public TemplateSet(IDbAccessor omsAccessor, IStockRemindNotify remindNotify) { this.omsAccessor = omsAccessor; this.remindNotify = remindNotify; }