public WorkProcessDetailsController(IStationService stationService, IWorkProcessService workProcessService, IWorkProcessDetailService workProcessDetailService, IUnitOfWorkAsync unitOfWork)
 {
     _workProcessDetailService = workProcessDetailService;
     _unitOfWork         = unitOfWork;
     _workProcessService = workProcessService;
     _stationService     = stationService;
 }
 public WorkProcessDetailsController(IStationService stationService,IWorkProcessService workProcessService,IWorkProcessDetailService workProcessDetailService, IUnitOfWorkAsync unitOfWork)
 {
     _workProcessDetailService = workProcessDetailService;
     _unitOfWork = unitOfWork;
     _workProcessService = workProcessService;
     _stationService = stationService;
 }
示例#3
0
        public DataExportService()
        {
            // Not using structuremap as dependencies are being disposed too early

            db = DataContext.Create();
            categoryService    = new CategoryService(db, null, new CacheService());
            productFinder      = new ProductFinder(db, categoryService);
            workProcessService = new WorkProcessService(db);
        }
示例#4
0
        public DataExportService()
        {
            // Not using structuremap as dependencies are being disposed too early

            db = DataContext.Create();
            categoryService = new CategoryService(db, null, new CacheService());
            productFinder = new ProductFinder(db, categoryService);
            workProcessService = new WorkProcessService(db);
        }
示例#5
0
 public WorkProcessController(IWorkProcessService workProcessService)
 {
     this.workProcessService = workProcessService;
 }
 public WorkProcessController(IWorkProcessService workProcessService)
 {
     this.workProcessService = workProcessService;
 }
示例#7
0
 public WorkProcessesController(IWorkProcessService workProcessService, IUnitOfWorkAsync unitOfWork)
 {
     _workProcessService = workProcessService;
     _unitOfWork         = unitOfWork;
 }
 public DataExportController(DataContext db, IWorkProcessService workProcessService)
     : base(db)
 {
     this.workProcessService = workProcessService;
 }
 public WorkProcessesController(IWorkProcessService workProcessService, IUnitOfWorkAsync unitOfWork)
 {
     _workProcessService = workProcessService;
     _unitOfWork = unitOfWork;
 }
示例#10
0
 public EveryJob(IWorkProcessService workProcessService)
 {
     _workProcessService = workProcessService;
 }
示例#11
0
 public DataExportController(DataContext db, IWorkProcessService workProcessService)
     : base(db)
 {
     this.workProcessService = workProcessService;
 }