Example #1
0
 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"];
 }
Example #2
0
 public TemplateSet(IDbAccessor omsAccessor, IStockRemindNotify remindNotify)
 {
     this.omsAccessor  = omsAccessor;
     this.remindNotify = remindNotify;
 }