Esempio n. 1
0
        public BrandRegistrationReqViewModel()
        {
            SystemReferenceService refService = new SystemReferenceService();

            this.ViewModel = new BrandRegistrationReqModel();
            this.ListBrandRegistrationReq = new List <BrandRegistrationReqModel>();
            this.ViewModelProduct         = new ProductDevDetailModel();
            this.ListProductDevDetail     = new List <ProductDevDetailModel>();
            this.SearchInput = new BrandRegFilterViewModel();

            this.ItemDetail                      = new List <BrandRegistrationReqDetailModel>();
            this.Item                            = new List <BrandRegistrationReqDetailModel>();
            this.OtherFileList                   = new List <FileUpload.FileUploadModel>();
            this.RemovedFilesId                  = new List <long>();
            this.BrandRegSupportingDocument      = new List <BrandRegSupportingDocumentModel>();
            this.File_Other_Name                 = new List <string>();
            this.File_Other_Path                 = new List <string>();
            this.ButtonCombination               = "Create";
            this.UserAccess                      = new BrandAccess();
            this.Confirmation                    = new List <ConfirmDialogModel>();
            this.CurrentAction                   = "";
            this.WorkflowHistory                 = new List <WorkflowHistoryViewModel>();
            this.statusDraftNew                  = refService.GetRefByKey("DRAFT_NEW_STATUS").REFF_ID;
            this.statusDraftEdit                 = refService.GetRefByKey("DRAFT_EDIT_STATUS").REFF_ID;
            this.statusWaitingforPOAApproval     = refService.GetRefByKey("WAITING_POA_APPROVAL").REFF_ID;
            this.statusWaitingforPOASKEPApproval = refService.GetRefByKey("WAITING_POA_SKEP_APPROVAL").REFF_ID;
            this.statusWaitingforGovApproval     = refService.GetRefByKey("WAITING_GOVERNMENT_APPROVAL").REFF_ID;
            this.statusCompleted                 = refService.GetRefByKey("COMPLETED").REFF_ID;
            this.statusCanceled                  = refService.GetRefByKey("CANCELED").REFF_ID;
            File_SKEP_Path                       = new List <string>();
            File_SKEP_Name                       = new List <string>();
        }
Esempio n. 2
0
 public ManufactureLicenseController(IPageBLL pageBLL, IChangesHistoryBLL changeHistoryBLL, IWorkflowHistoryBLL workflowHistoryBLL) : base(pageBLL, Enums.MenuList.ManufactureLicense)
 {
     this.mainMenu = Enums.MenuList.ManufactureLicense;
     //this.service = new InterviewRequestModel();
     this.refService = new SystemReferenceService();
     this.chBLL      = changeHistoryBLL;
     this.whBLL      = workflowHistoryBLL;
 }
 public FinanceRatioController(IPageBLL pageBLL, IChangesHistoryBLL changeHistoryBLL, IWorkflowHistoryBLL workflowHistory)
     : base(pageBLL, Enums.MenuList.FinanceRatio)
 {
     this.mainMenu           = Enums.MenuList.MasterData;
     this.service            = new FinanceRatioManagementService();
     this.refService         = new SystemReferenceService();
     this.changeHistoryBLL   = changeHistoryBLL;
     this.workflowHistoryBLL = workflowHistory;
 }
Esempio n. 4
0
 public TariffController(IPageBLL pageBLL, IChangesHistoryBLL changeHistoryBll, IWorkflowHistoryBLL workflowBll)
     : base(pageBLL, Enums.MenuList.Tariff)
 {
     this.mainMenu         = Enums.MenuList.MasterData;
     this.service          = new TariffManagementService();
     this.refService       = new SystemReferenceService();
     this.changeHistoryBll = changeHistoryBll;
     this.workflowBll      = workflowBll;
 }
 public SupportDocController(IPageBLL pageBLL, IChangesHistoryBLL changesHistoryBll, IWorkflowHistoryBLL workflowHistoryBLL)
     : base(pageBLL, Enums.MenuList.SupportDoc)
 {
     this.mainMenu           = Enums.MenuList.MasterData;
     this.service            = new SupportDocManagementService();
     this.refService         = new SystemReferenceService();
     this._changesHistoryBll = changesHistoryBll;
     this.workflowHistoryBLL = workflowHistoryBLL;
 }
Esempio n. 6
0
 public POABLL(IUnitOfWork uow, ILogger logger)
 {
     _logger               = logger;
     _uow                  = uow;
     _repository           = _uow.GetGenericRepository <BusinessObject.POA>();
     _poaMapRepository     = _uow.GetGenericRepository <BusinessObject.POA_MAP>();
     _broleMapRepository   = _uow.GetGenericRepository <BusinessObject.BROLE_MAP>();
     _changesHistoryBll    = new ChangesHistoryBLL(_uow, _logger);
     _masterDataAprovalBLL = new MasterDataApprovalBLL(_uow, _logger);
     this.refService       = new SystemReferenceService();
 }
 public ProductTypeController(IZaidmExProdTypeBLL exProdTypeBll, IChangesHistoryBLL changesHistoryBll, IWorkflowHistoryBLL workflowHistoryBLL, IPageBLL pageBLL)
     : base(pageBLL, Enums.MenuList.ProductType)
 {
     _exProdTypeBll                 = exProdTypeBll;
     this._mainMenu                 = Enums.MenuList.MasterData;
     this._productTypeService       = new ProductTypeService();
     this._refService               = new SystemReferenceService();
     this._changesHistoryBll        = changesHistoryBll;
     this.workflowHistoryBLL        = workflowHistoryBLL;
     this.productDevelopmentService = new ProductDevelopmentService();
 }
Esempio n. 8
0
 public NPPBKCController(IZaidmExNPPBKCBLL nppbkcBll, IChangesHistoryBLL changesHistoryBll, ICompanyBLL companyBll, IMasterDataBLL masterData, IZaidmExKPPBCBLL kppbcBll,
                         IPageBLL pageBLL, IPlantBLL plantBll)
     : base(pageBLL, Enums.MenuList.NPPBKC)
 {
     _nppbkcBll         = nppbkcBll;
     _masterDataBll     = masterData;
     _companyBll        = companyBll;
     _kppbcBll          = kppbcBll;
     _plantBll          = plantBll;
     _changesHistoryBll = changesHistoryBll;
     _mainMenu          = Enums.MenuList.MasterData;
     refService         = new SystemReferenceService();
     service            = new NppbkcManagementService();
 }
Esempio n. 9
0
 public BrandRegistrationTransactionService() : base()
 {
     this.refService = new SystemReferenceService();
 }
Esempio n. 10
0
 public NppbkcManagementService()
 {
     this.refService = new SystemReferenceService();
 }
Esempio n. 11
0
 public FinanceRatioManagementService() : base()
 {
     this.refService = new SystemReferenceService();
 }
Esempio n. 12
0
 public TariffManagementService() : base()
 {
     this.refService = new SystemReferenceService();
 }
Esempio n. 13
0
 public SupportDocManagementService() : base()
 {
     this.refService = new SystemReferenceService();
 }
Esempio n. 14
0
 public PoaExciserService() : base()
 {
     this.refService = new SystemReferenceService();
 }
Esempio n. 15
0
 public ConfigurationService() : base()
 {
     this.refService = new SystemReferenceService();
 }
Esempio n. 16
0
 public ProductTypeService() : base()
 {
     this.refService = new SystemReferenceService();
 }