Пример #1
0
 public ObjectAppService(IPlaceCache placeCache,
                         ICapitalCache capitalCache,
                         IObjectCache objectCache,
                         ICargoTypeCache cargoTypeCache,
                         IRepository <Object> objectRepository)
 {
     _placeCache       = placeCache;
     _capitalCache     = capitalCache;
     _objectCache      = objectCache;
     _cargoTypeCache   = cargoTypeCache;
     _objectRepository = objectRepository;
 }
Пример #2
0
 public TaskManager(IWorkerCache workerCache,
                    IPlaceCache placeCache,
                    IObjectCache objectCache,
                    ICategoryCache categoryCache,
                    IShelfCache shelfCache,
                    ICargoTypeCache cargoTypeCache,
                    ISourceCache sourceCache)
 {
     _workerCache    = workerCache;
     _placeCache     = placeCache;
     _objectCache    = objectCache;
     _categoryCache  = categoryCache;
     _shelfCache     = shelfCache;
     _cargoTypeCache = cargoTypeCache;
     _sourceCache    = sourceCache;
 }