Exemplo n.º 1
0
        public ProcessController(IInspectionService inspetionService,
                                 IProcessService processService,
                                 IOverSeaService overseaService,
                                 ICountryService countryService,
                                 IStoreService storeService,
                                 IWorkplaceService workplaceService,
                                 IFeedbackService feedbackService,
                                 IObservationService observationService,
                                 ITrackService trackService
                                 )
        {
            this._inspetionService = inspetionService;
            this._processService   = processService;

            this._overseaService     = overseaService;
            this._countryService     = countryService;
            this._storeService       = storeService;
            this._workplaceService   = workplaceService;
            this._feedbackService    = feedbackService;
            this._observationService = observationService;
            this._trackService       = trackService;

            // 目前登入者可用權限
            this._UserPermission = new UserPermission(storeService, workplaceService);
        }
Exemplo n.º 2
0
        public CountryService(IUnitOfWork unitofwork, IRepository <Country> repository, IOverSeaService overseaService)
        {
            this._unitOfWork = unitofwork;
            this._repository = repository;

            this._overseaService = overseaService;
        }
Exemplo n.º 3
0
        public OverTypeService(IUnitOfWork unitofwork, IRepository <Model.OverType> repository, IOverSeaService overseaService)
        {
            this._unitOfWork = unitofwork;
            this._repository = repository;

            this._overseaService = overseaService;
        }
Exemplo n.º 4
0
        public InspectionService(IUnitOfWork unitofwork, IRepository <Model.Inspection> repository, IOverSeaService overseaService, IInspectionImageService inspectionimageService)
        {
            this._unitOfWork = unitofwork;
            this._repository = repository;

            this._overseaService         = overseaService;
            this._inspectionimageService = inspectionimageService;
        }
Exemplo n.º 5
0
        //private readonly int FileMax = 100 * 100 * 100;

        public InspectionController(IInspectionService inspetionService,
                                    IOverSeaService overseaService,
                                    ICountryService countryService,
                                    IStoreService storeService,
                                    IWorkplaceService workplaceService,
                                    IFeedbackService feedbackService,
                                    IObservationService observationService,
                                    ITrackService trackService
                                    )
        {
            this._inspetionService = inspetionService;

            this._overseaService     = overseaService;
            this._countryService     = countryService;
            this._storeService       = storeService;
            this._workplaceService   = workplaceService;
            this._feedbackService    = feedbackService;
            this._observationService = observationService;
            this._trackService       = trackService;
        }
Exemplo n.º 6
0
 public OverSeaController(IOverSeaService overseaService, IOverTypeService overtypeService, ICountryService countryService)
 {
     this._overseaService  = overseaService;
     this._overtypeService = overtypeService;
     this._countryService  = countryService;
 }