Ejemplo n.º 1
0
        private IOfflineStoreQueryService _offlineStoreQueryService; //Q 端

        public ResetTodayStatisticJob()
        {
            var container = (ObjectContainer.Current as AutofacObjectContainer).Container;

            _commandService           = container.Resolve <ICommandService>();
            _offlineStoreQueryService = container.Resolve <IOfflineStoreQueryService>();
        }
Ejemplo n.º 2
0
 public OfflineStoreController(ICommandService commandService, IContextService contextService,
                               IOfflineStoreQueryService offlineStoreQueryService,
                               IUserQueryService userQueryService) : base(commandService, contextService)
 {
     _offlineStoreQueryService = offlineStoreQueryService;
     _userQueryService         = userQueryService;
 }