예제 #1
0
        public WorkAppService(IRepository <Signin> signinRepository,
                              IRepository <Route> routeRepository,
                              IRepository <RouteArticle> routeArticleRepository,
                              IRepository <RouteTask> routeTaskRepository,
                              IRepository <Depot> depotRepository,
                              IRouteCache routeCache,
                              IWorkRoleCache workRoleCache,
                              IRouteTypeCache routeTypeCache,
                              IArticleCache articleCache,
                              IArticleTypeCache articleTypeCache,
                              IBoxCache boxCache,
                              IOutletCache outletCache,
                              ICustomerTaskTypeCache customerTaskTypeCache,
                              IOutletTaskTypeCache outletTaskTypeCache)
        {
            _signinRepository       = signinRepository;
            _routeRepository        = routeRepository;
            _routeArticleRepository = routeArticleRepository;
            _routeTaskRepository    = routeTaskRepository;
            _depotRepository        = depotRepository;

            _routeCache            = routeCache;
            _workRoleCache         = workRoleCache;
            _routeTypeCache        = routeTypeCache;
            _articleCache          = articleCache;
            _articleTypeCache      = articleTypeCache;
            _boxCache              = boxCache;
            _outletCache           = outletCache;
            _customerTaskTypeCache = customerTaskTypeCache;
            _outletTaskTypeCache   = outletTaskTypeCache;
        }
예제 #2
0
        public WorkManager(IWorkerCache workerCache,
                           IVehicleCache vehicleCache,
                           IWorkplaceCache workplaceCache,
                           IWorkRoleCache workRoleCache,
                           IDepotCache depotCache,
                           IArticleCache articleCache,
                           IPostCache postCache,
                           IBoxCache boxCache,
                           IOutletCache outletCache,
                           ISigninCache signinCache,
                           IRepository <Signin> signinRepository,
                           IAffairCache affairCache,
                           IRepository <Affair> affairRepository,
                           IRepository <AffairWorker> affairWorkerRepository,
                           IRepository <AffairTask> affairTaskRepository,
                           IRepository <AffairEvent> affairEventRepository,
                           IRepository <AskDoorRecord> askdoorRepository)
        {
            _workerCache    = workerCache;
            _vehicleCache   = vehicleCache;
            _workplaceCache = workplaceCache;
            _workRoleCache  = workRoleCache;
            _depotCache     = depotCache;
            _articleCache   = articleCache;
            _postCache      = postCache;
            _boxCache       = boxCache;
            _outletCache    = outletCache;

            _signinCache      = signinCache;
            _signinRepository = signinRepository;

            _affairCache            = affairCache;
            _affairRepository       = affairRepository;
            _affairWorkerRepository = affairWorkerRepository;
            _affairTaskRepository   = affairTaskRepository;
            _affairEventRepository  = affairEventRepository;

            _askdoorRepository = askdoorRepository;
        }
예제 #3
0
 public ArticleService(IArticleCache articleCache, IArticleRepository articleRepository)
 {
     this._articleCache      = articleCache;
     this._articleRepository = articleRepository;
 }