public FrmOpeningStock()
 {
     _productService = new ProductService();
     _commonservice = new CommonService();
     _wareHouseService = new WareHouseService();
     InitializeComponent();
 }
 public FrmReceivedGoodsNote()
 {
     _CommonService = new CommonService();
     _ProductionMaterial = new ProductionMaterialService();
     InitializeComponent();
     _GoodReceivedNoteService = new GoodReceivedNoteService();
 }
Example #3
0
 public DocumentViewerVm(DocumentViewer documentView, ICommonService service)
     : base(service)
 {
     currentDocumentView = documentView;
     _service = service;
     InitVm();
 }
Example #4
0
 public SearchDocumentMainVm(ICommonService service, IRegionManager regionManager)
     : base(service)
 {
     _regionManager = regionManager;
     DocumentTypes = new QueryableDataServiceCollectionView<DocumentTypeDTO>(service.Context,
         service.Context.DocumentTypes);
 }
Example #5
0
 public RequestController(IRegionalRequestService reliefRequistionService,
                         IFDPService fdpService,
                         IRegionalRequestDetailService reliefRequisitionDetailService,
                         ICommonService commonService,
                         IHRDService hrdService,
                         IApplicationSettingService ApplicationSettingService,
                         IUserAccountService userAccountService,
                         ILog log,
                         IHRDDetailService hrdDetailService,
                         IRegionalPSNPPlanDetailService regionalPSNPPlanDetailService,
                         IRegionalPSNPPlanService RegionalPSNPPlanService, 
     IAdminUnitService adminUnitService, 
     IPlanService planService, 
     IIDPSReasonTypeServices idpsReasonTypeServices)
 {
     _regionalRequestService = reliefRequistionService;
     _fdpService = fdpService;
     _regionalRequestDetailService = reliefRequisitionDetailService;
     _commonService = commonService;
     _hrdService = hrdService;
     _applicationSettingService = ApplicationSettingService;
     _userAccountService = userAccountService;
     _log = log;
     _HRDDetailService = hrdDetailService;
     _RegionalPSNPPlanDetailService = regionalPSNPPlanDetailService;
     _RegionalPSNPPlanService = RegionalPSNPPlanService;
     _adminUnitService = adminUnitService;
     _planService = planService;
     _idpsReasonTypeServices = idpsReasonTypeServices;
 }
 public ReliefRequisitionController(
     IReliefRequisitionService reliefRequisitionService, 
     IWorkflowStatusService workflowStatusService, 
     IReliefRequisitionDetailService reliefRequisitionDetailService,
     IUserAccountService userAccountService,
     IRegionalRequestService regionalRequestService,
     IRationService rationService, 
     IDonorService donorService, 
     INotificationService notificationService, 
     IPlanService planService,
     ITransactionService transactionService,
     ICommonService commonService, IRationDetailService rationDetailService)
 {
     this._reliefRequisitionService = reliefRequisitionService;
     this._workflowStatusService = workflowStatusService;
     this._reliefRequisitionDetailService = reliefRequisitionDetailService;
     _userAccountService = userAccountService;
     _rationService = rationService;
     _donorService = donorService;
     _notificationService = notificationService;
     _planService = planService;
     _transactionService = transactionService;
     _commonService = commonService;
     _rationDetailService = rationDetailService;
     _regionalRequestService = regionalRequestService;
 }
Example #7
0
 public void Dispose()
 {
     _commonSvc = null;
     _ownerSvc = null;
     if (_userManager != null) { _userManager.Dispose(); }
     if (_context != null) { _context.Dispose(); }
 }
        public MainPageViewModel(ICommonService<StartImage> startImageService, ICommonService<LatestNews> latestNewsService,
            ICommonService<HotNews> hotNewsService, ICommonService<Themes> themesService, ICommonService<Sections> sectionsService)
        {
            _startImageService = startImageService;
            _hotNewsService = hotNewsService;
            _themesService = themesService;
            _latestNewsService = latestNewsService;
            _sectionsService = sectionsService;

            this.LoadMainSource();
            this.NewsDS = new NewsBeforeDataSource(_latestNewsService);

            this.ItemClickCommand = new RelayCommand<object>((e) =>
            {
                Messenger.Default.Send<NotificationMessage>(new NotificationMessage(e, "OnItemClick"));
            });
            this.GridViewItemClickCommand = new RelayCommand<Others>((e) =>
            {
                Messenger.Default.Send<NotificationMessage>(new NotificationMessage(e.Id, "OnGridViewItemClick"));
            });
            this.SectionClickCommand = new RelayCommand<Datum>((e) =>
            {
                Messenger.Default.Send<NotificationMessage>(new NotificationMessage(e.Id, "OnGridViewSectionClick"));
            });
            this.RefreshCommand = new RelayCommand(() =>
            {
                //Refresh the data
                this.LoadMainSource();
                this.NewsDS = new NewsBeforeDataSource(_latestNewsService);
            });
            this.SettingCommand = new RelayCommand(() =>
            {
                Messenger.Default.Send<NotificationMessage>(new NotificationMessage("OnSettingButtonClick"));
            });
        }
Example #9
0
 public CommonController(ICommonService commonSvc, IFullTextSearchService fullTextSearchService, IIMEICacheService imeiCacheService, ISqlLoaderWriter logService)
 {
     CommonService = commonSvc;
     FullTextSearchService = fullTextSearchService;
     IMEICacheService = imeiCacheService;
     LogService = logService;
 }
 public FrmBillOfMaterial()
 {
     _commonService = new CommonService();
     _billOfMaterial = new BillOfMaterialService();
     _productService = new ProductService();
     InitializeComponent();
 }
 public FrmInvoice()
 {
     _common = new CommonService();
     _dispatchOrderService = new DispatchOrderService();
     _invoiceService = new InvoiceService();
     InitializeComponent();
 }
Example #12
0
 public ManagerDocumentTypeVm(ICommonService service)
     : base(service)
 {
     _service = service;
     _context = _service.Context;
     InitializeVm();
 }
 public DispatchAllocationController(IDispatchAllocationService dispatchAllocationService,
                                     IUserProfileService userProfileService,
                                     IOtherDispatchAllocationService otherDispatchAllocationService,
                                     IShippingInstructionService shippingInstructionService,
                                     IProjectCodeService projectCodeService,
                                     ITransporterService transporterService,
                                     ICommonService commonService,
                                     IAdminUnitService adminUnitService,
                                     IFDPService fdpService,
                                     IHubService hubService,
                                      ICommodityTypeService commodityTypeService)
     : base(userProfileService)
 {
     this._dispatchAllocationService = dispatchAllocationService;
     this._userProfileService = userProfileService;
     this._otherDispatchAllocationService = otherDispatchAllocationService;
     this._projectCodeService = projectCodeService;
     this._shippingInstructionService = shippingInstructionService;
     this._transporterService = transporterService;
     this._adminUnitService = adminUnitService;
     this._fdpService = fdpService;
     this._commonService = commonService;
     this._hubService = hubService;
     this._commodityTypeService = commodityTypeService;
 }
Example #14
0
 public TransferController(ITransferService transferService,ICommonService commonService,IUserAccountService userAccountService, ICommodityService commodityService)
 {
     _transferService = transferService;
     _commonService = commonService;
     _userAccountService = userAccountService;
     _commodityService = commodityService;
 }
 public ReciptPlanForLoanController(ILoanReciptPlanService loanReciptPlanService,ICommonService commonService,
                                             ILoanReciptPlanDetailService loanReciptPlanDetailService,IUserAccountService userAccountService)
 {
     _loanReciptPlanService = loanReciptPlanService;
     _commonService = commonService;
     _loanReciptPlanDetailService = loanReciptPlanDetailService;
     _userAccountService = userAccountService;
 }
Example #16
0
 public PlanController(IPlanService hrdPlanService,IUserAccountService userAccountService,
                       ICommonService commonService,INeedAssessmentService needAssessmentService,IHRDService hrdService)
 {
     _planService = hrdPlanService;
     _userAccountService = userAccountService;
     _commonService = commonService;
     _needAssessmentService = needAssessmentService;
 }
 public FrmDispatchOrder()
 {
     InitializeComponent();
     _commonService = new CommonService();
     _dispatchOrderService = new DispatchOrderService();
     _dealerService = new DealerService();
     _productService = new ProductService();
 }
 public FrmIssueMaterial()
 {
     _issueMaterialservice = new IssueMaterialService();
     _commonService = new CommonService();
     _billOfMaterialService = new BillOfMaterialService();
     _userDetailService = new UserDetailService();
     InitializeComponent();
 }
Example #19
0
 public SwapController(ITransferService transferService,ICommonService commonService,IUserAccountService userAccountService,
                           ICommodityService commodityService,ILog log)
 {
     _transferService = transferService;
     _commonService = commonService;
     _userAccountService = userAccountService;
     _commodityService = commodityService;
     _log = log;
 }
Example #20
0
		public StatusService(IObjectSerializationProvider serializationProvider, IControlService controlService,
			IProductManagementService productManagementService, IMasterService masterService, ICommonService commonService)
		{
			_serializationProvider = serializationProvider;
			_controlService = controlService;
			_productManagementService = productManagementService;
			_masterService = masterService;
			_commonService = commonService;
		}
 public LocalPurchaseController( ILocalPurchaseService localPurchaseService,ICommonService commonService,ILocalPurchaseDetailService localPurchaseDetailService,
                                 IGiftCertificateService giftCertificateService,IShippingInstructionService shippingInstructionService)
 {
     _localPurchaseService = localPurchaseService;
     _commonService = commonService;
     _localPurchaseDetailService = localPurchaseDetailService;
     _giftCertificateService = giftCertificateService;
     _shippingInstructionService = shippingInstructionService;
 }
 public FrmJobOrder()
 {
     _commonService = new CommonService();
     _dealer = new DealerService();
     _jobOrderService = new JobOrderservice();
     _PurchaseRequisition = new PurchaseRequisitionNoteService();
     _ProductionMaterial = new ProductionMaterialService();
     InitializeComponent();
 }
Example #23
0
 public ApiTestBase()
 {
     AccountModel = new AccountModel
     {
         AppId = AppId,
         AppSecret = AppSecret,
         GetAccessToken = GetAccessToken
     };
     CommonService = new CommonService(AccountModel);
 }
 public FrmFinanceDispatchOrder()
 {
     _commonService = new CommonService();
     _financeDispatchDetailService = new FinanceDispatchDetailService();
     _fineDispatchService = new FinanceDispatchService();
     _productService = new ProductService();
     _wareHouseService = new WareHouseService();
     _dispatchOrderService = new DispatchOrderService();
     InitializeComponent();
 }
Example #25
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SendNotification"/> class.
 /// </summary>
 public SendNotification()
 {
     var container = new Container(new DefaultRegistry());
     this.loggerservice = container.GetInstance<ILoggerService>();
     this.youfferMessageService = container.GetInstance<IYoufferMessageService>();
     this.userService = container.GetInstance<IUserService>();
     this.pushMessageService = container.GetInstance<IPushMessageService>();
     this.commonService = container.GetInstance<ICommonService>();
     this.crmManagerService = container.GetInstance<ICRMManagerService>();
     this.authRepository = container.GetInstance<IAuthRepository>();
 }
        public FrmPurchaseRequisitionNote()
        {
            _purchaseRequisitionNoteService = new PurchaseRequisitionNoteService();
            _unitService = new UnitService();
            _subProductService = new SubProductService();
            _productionMaterialService = new ProductionMaterialService();

            InitializeComponent();
            _commonService=new CommonService();
            _productService = new ProductService();
        }
Example #27
0
        public ListDocumentsVm(ICommonService service)
            : base(service)
        {
            _service = service;
            _context = service.Context;

            InitializeVM();

            _filter = new FilterDescriptor<DocumentDTO> {FilteringExpression = e => true};
            Documents.FilterDescriptors.Add(_filter);
        }
Example #28
0
 public GiftCertificateController(IGiftCertificateService giftCertificateService, IGiftCertificateDetailService giftCertificateDetailService,
                                  ICommonService commonService, ITransactionService transactionService, ILetterTemplateService letterTemplateService,
                                  IUnitOfWork unitofwork,IUserAccountService userAccountService,IShippingInstructionService shippingInstructionService)
 {
     _giftCertificateService = giftCertificateService;
     _giftCertificateDetailService = giftCertificateDetailService;
     _commonService = commonService;
     _transactionService = transactionService;
     _letterTemplateService = letterTemplateService;
     _unitofwork = unitofwork;
     _userAccountService = userAccountService;
     _shippingInstructionService = shippingInstructionService;
 }
Example #29
0
        public DocViewerVM(ICommonService service)
            : base(service)
        {
            _service = service;
            _context = service.Context;

            SaveCommand = new DelegateCommand<object>(OnSave, CanSave);
            SaveDocumentToLocalCommand = new DelegateCommand<object>(OnSaveDocumentToLocal, CanSaveDocumentToLocal);
            InitializeVM();

            _filter = new FilterDescriptor<DocumentTypeDTO> {FilteringExpression = e => true};
            DocumentTypes.FilterDescriptors.Add(_filter);
        }
Example #30
0
		public ActivationService(IControlService controlService, IKeyManagementService keyService, IKeyPairService keyPairService,
			IObjectSerializationProvider serializationProvider, IAsymmetricEncryptionProvider asymmetricEncryptionProvider,
			IActivationLogService activationLogService, IMasterService masterService, ICommonService commonService, IProductManagementService productManagementService)
		{
			_controlService = controlService;
			_keyService = keyService;
			_keyPairService = keyPairService;
			_serializationProvider = serializationProvider;
			_asymmetricEncryptionProvider = asymmetricEncryptionProvider;
			_activationLogService = activationLogService;
			_masterService = masterService;
			_commonService = commonService;
			_productManagementService = productManagementService;
		}
Example #31
0
 public ServiceA(ICommonService commonService)
 {
     CommonService = commonService;
 }
Example #32
0
 public FrmUnit()
 {
     _CommonService = new CommonService();
     _unitService = new UnitService();
     InitializeComponent();
 }
 public FrmDealer()
 {
     _CommonService = new CommonService();
     _dealerService = new DealerService();
     InitializeComponent();
 }
 public ErrorController(ILoggingService loggingService, ICommonService commonService) :
     base(loggingService, commonService)
 {
     _loggingService = loggingService;
     _commonService  = commonService;
 }
 public ResourceGroupService(TaxathandDbContext dbContext, ICommonService commonService, IMapper mapper)
 {
     _dbContext     = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
     _commonService = commonService ?? throw new ArgumentNullException(nameof(commonService));
     _mapper        = mapper ?? throw new ArgumentNullException(nameof(mapper));
 }
Example #36
0
 public SlideController(IErrorService errorService, ICommonService commomService) : base(errorService)
 {
     _commomService = commomService;
 }
Example #37
0
 public ModePaiementController(GestecoContext context, IMapper mapper, ICommonService modePaiementRepository)
 {
     _context = context;
     _mapper  = mapper;
     _modePaiementRepository = modePaiementRepository;
 }
Example #38
0
 public BankController(IBankService iBankService, ICommonService iCommonService, IStringLocalizer <RocketPOSResources> sharedLocalizer, LocService locService)
 {
     _iBankService    = iBankService;
     _sharedLocalizer = sharedLocalizer; _iCommonService = iCommonService;
     _locService      = locService;
 }
 public CommonController(ICommonService commonService, IStorage storageService)
 {
     _commonService  = commonService;
     _storageService = storageService;
 }
Example #40
0
 public LocaleStringResourceAppService(ILocaleStringResourceService localeStringResourceService, ILanguageService languageService, ICurrentContext context, ILogger <LocaleStringResourceAppService> logger, ICommonService commonService)
 {
     _localeStringResourceService = localeStringResourceService;
     _languageService             = languageService;
     _context       = context;
     _commonService = commonService;
     _logger        = logger;
 }
Example #41
0
 public MatiereController(GestecoContext context, IMapper mapper, ICommonService matiereRepository)
 {
     _context           = context;
     _mapper            = mapper;
     _matiereRepository = matiereRepository;
 }
 public DepartmentController(IDepartmentService departmenttypeService, ICommonService commonService)
 {
     this._departmenttypeService = departmenttypeService;
     _commonService = commonService;
 }
Example #43
0
 public Footer(ICommonService _service)
 {
     serv = _service;
 }
 public FrmFlavour()
 {
     _CommonService  = new CommonService();
     _flavourService = new FlavourService();
     InitializeComponent();
 }
 public OutcomeMeasurementController(IStudentService studentService, ISchoolService schoolService, ISiteService siteService, IReportCardService reportCardService, IOutcomeMeasurementService outcomeMeasurementService, ICommonService commonService)
 {
     _studentService            = studentService;
     _schoolService             = schoolService;
     _siteService               = siteService;
     _reportCardService         = reportCardService;
     _outcomeMeasurementService = outcomeMeasurementService;
     _commonService             = commonService;
 }
 public SystemController(ISystemService SystemService, ICommonService CommonService)
 {
     this._commonService = CommonService;
     this._systemService = SystemService;
 }
 public WorkItemsController(ICommonService commonManager, IWorkItemsService workItemsManager, ITeamProjectService teamProjectService)
 {
     _commonManager      = commonManager;
     _workItemsManager   = workItemsManager;
     _teamProjectService = teamProjectService;
 }
Example #48
0
 public RequestorService(ITaskRepository taskRepository, TaskModelFactory taskModelFactory, IRequestorRepository requestorRepository, ApplicantModelFactory applicantModelFactory, ApprovedContributorModelFactory approvedContributorModelFactory, ICommonService commonService, TaskApplicantModelFactory taskApplicantModelFactory, ApprovedApplicantModelFactory approvedApplicantModelFactory, IUserRepository userRepository, SkillModelFactory skillModelFactory, IEmailTrackerService emailTrackerService)
 {
     _taskRepository                  = taskRepository;
     _taskModelFactory                = taskModelFactory;
     _requestorRepository             = requestorRepository;
     _applicantModelFactory           = applicantModelFactory;
     _approvedContributorModelFactory = approvedContributorModelFactory;
     _commonService                 = commonService;
     _taskApplicantModelFactory     = taskApplicantModelFactory;
     _approvedApplicantModelFactory = approvedApplicantModelFactory;
     _userRepository                = userRepository;
     _skillModelFactory             = skillModelFactory;
     _emailTrackerService           = emailTrackerService;
 }
Example #49
0
 public LoginUserQueryHandler(ILoginUserService service, ICommonService commonService, IUnitOfWork unitOfWork)
 {
     _service       = service;
     _commonService = commonService;
     _unitOfWork    = unitOfWork;
 }
Example #50
0
 public CommonController(ICommonService commonService)
 {
     _commonService = commonService;
 }
Example #51
0
 public SearchDashboardController(ICommonService commonService, IMasterService masterService, ITransactionService transactionService)
 {
     this.CommonService      = commonService;
     this.MasterService      = masterService;
     this.TransactionService = transactionService;
 }
Example #52
0
 public WordsService(IMapper map, ApplicationDbContext con, ICommonService servCom)
 {
     _mapper        = map;
     _context       = con;
     _commonService = servCom;
 }
Example #53
0
 public AssetController(IAssetService <Asset> assetService, ICommonService <OrganizationModel> organizationModel)
 {
     _assettService     = assetService;
     _organizationModel = organizationModel;
 }
Example #54
0
 public SharedController(IFooterService footerService, ICommonService commonService)
 {
     _footerService = footerService;
     _commonService = commonService;
 }
Example #55
0
 public BrowseProductController(IProductService productService, ICommonService commonService)
 {
     _productService = productService;
     _commonService  = commonService;
 }
Example #56
0
 /// <summary>
 /// Ctor - electronic channel validator
 /// </summary>
 /// <param name="model">Electronic channel model</param>
 /// <param name="commonService">Common service</param>
 /// <param name="codeService">Code service</param>
 /// <param name="serviceService">Service service</param>
 public ElectronicChannelValidator(VmOpenApiElectronicChannelInVersionBase model, ICommonService commonService, ICodeService codeService, IServiceService serviceService) :
     base(model, "ElectronicChannel", commonService, codeService, serviceService)
 {
 }
Example #57
0
 public InstitutionController(ICommonService _commonService, INomenclatureService _nomService)
 {
     commonService = _commonService;
     nomService    = _nomService;
 }
Example #58
0
 public CaseGroupController(ICaseGroupService _service, INomenclatureService _nomService, ICommonService _commonService)
 {
     service       = _service;
     nomService    = _nomService;
     commonService = _commonService;
 }
Example #59
0
 public UserController(ICommonService CommonService, IUserService UserService, ISystemService systemService)
 {
     _commonService = CommonService;
     _userService   = UserService;
     _systemService = systemService;
 }
Example #60
0
 public RealTimeService(CPMathHubModelContainer context, int userId = 0)
 {
     _loginUserId = userId;
     _dal         = new MathHubUoW(context);
     _cService    = new CommonService(context);
 }