public AutoApprovalController(IEmployeeAppService _employeeService, IFileTransMainAppService _pafamainService, IFileTransDetailAppService _palogsService, IActionListAppService _actionListService) { this._employeeService = _employeeService; this._FileTransMainService = _pafamainService; this._palogsService = _palogsService; this._actionListService = _actionListService; }
public OnlineMoneyReceiptController( IBankReceiptAppService _bankReceiptService, INewChartAppService _newChartService, ISubsidiaryInfoAppService _subsidiaryInfoService, ICurrentStockAppService _currentStockService, ITransactionLogAppService _transactionLogService, IJarnalVoucherAppService _jarnalVoucherService, ISysSetAppService _sysSetService, IBranchAppService _branchService, IProjInfoAppService _ProjInfoService, IVchrSetAppService _vchrSetService, IDefACAppService _defACService, IMoneyReceiptAppService _moneyReceiptService, IMoneyReceiptExtAppService _moneyReceiptExtService, ISalesMainAppService _salesMainService, IGsetAppService _gsetService, ICashReceiptAppService _CashReceiptService, IBankInfoAppService _bankInfoService, IEmployeeAppService _employeeInfoService, IAcBRAppService _AcBrService) { this._bankReceiptService = _bankReceiptService; this._newChartService = _newChartService; this._subsidiaryInfoService = _subsidiaryInfoService; this._currentStockService = _currentStockService; this._transactionLogService = _transactionLogService; this._sysSetService = _sysSetService; this._branchService = _branchService; this._ProjInfoService = _ProjInfoService; this._vchrSetService = _vchrSetService; this._defACService = _defACService; this._moneyReceiptService = _moneyReceiptService; this._moneyReceiptExtService = _moneyReceiptExtService; this._salesMainService = _salesMainService; this._gsetService = _gsetService; this._CashReceiptService = _CashReceiptService; this._bankInfoService = _bankInfoService; this._employeeInfoService = _employeeInfoService; this._jarnalVoucherService = _jarnalVoucherService; this._AcBrService = _AcBrService; }
private Result Add(Employee employee) { _employeeRepository.Setup(e => e.Insert(employee)); _employeeAppService = new EmployeeAppService(_employeeRepository.Object); return(_employeeAppService.Add(employee)); }
public BankOperationController(IBankOperationAppService _bankOperationService, IHORemitAppService _hoRemitService, IPaymentAppService _paymentService, INewChartAppService _newChartService, ITransactionLogAppService _transactionLogService, ISubsidiaryInfoAppService _subsidiaryService, IEmployeeAppService _employeeService, IAcBRAppService _AcBRService, IDepositToBankAppService _depositToBankService, IWithdrawAppService _withdrawService, IOpnBalAppService _OpnBalService, IBankReceiptAppService _BankReceiptAppService, IBankInfoAppService _BankInfoService, ISubsidiaryCtrlAppService _subsidiaryCtrlService, IJarnalVoucherAppService _jarnalVoucherService, IBranchAppService _BranchService, ISysSetAppService _sysSetService) { this._bankOperationService = _bankOperationService; this._hoRemitService = _hoRemitService; this._paymentService = _paymentService; this._newChartService = _newChartService; this._subsidiaryService = _subsidiaryService; this._employeeService = _employeeService; this._AcBRService = _AcBRService; this._depositToBankService = _depositToBankService; this._withdrawService = _withdrawService; this._transactionLogService = _transactionLogService; this._OpnBalService = _OpnBalService; this._BankReceiptAppService = _BankReceiptAppService; this._BankInfoService = _BankInfoService; this._subsidiaryCtrlService = _subsidiaryCtrlService; this._jarnalVoucherService = _jarnalVoucherService; this._BranchService = _BranchService; this._sysSetService = _sysSetService; }
public SalesF1Controller(ILocationAppService _locationService, IItemTypeAppService _itemTypeService, ISubsidiaryInfoAppService _subsidiaryInfoService, IItemInfoAppService _itemInfoService, ICurrentStockAppService _currentStockService, ICommonPVVMAppService _CommonVmService, IItemWiseDisVatAppService _ItemWiseDisVatService, ISalesMainAppService _SalesMainService, ISalesDetailAppService _SaleDetailService, IIssueMainAppService _IssueMainService, IIssueDetailsAppService _IssueDetailService, IEmployeeFuncAppService _EmpFuncService, IEmployeeAppService _EmployeeService, IIssueMainAppService _issueMainService, IJarnalVoucherAppService _jarnalVoucherService, ISysSetAppService _sysSetService) { this._locationService = _locationService; this._itemTypeService = _itemTypeService; this._subsidiaryInfoService = _subsidiaryInfoService; this._itemInfoService = _itemInfoService; this._currentStockService = _currentStockService; this._CommonVmService = _CommonVmService; this._ItemWiseDisVatService = _ItemWiseDisVatService; this._SalesMainService = _SalesMainService; this._SaleDetailService = _SaleDetailService; this._IssueMainService = _IssueMainService; this._IssueDetailService = _IssueDetailService; this._EmpFuncService = _EmpFuncService; this._EmployeeService = _EmployeeService; this._issueMainService = _issueMainService; this._jarnalVoucherService = _jarnalVoucherService; this._sysSetService = _sysSetService; }
public EmployeeController( IEmployeeAppService employeeAppService, INotificationHandler <DomainNotification> notifications, IMediatorHandler mediator) : base(notifications, mediator) { _employeeAppService = employeeAppService; }
public VATRptController(IFYDDAppService _FYDDService, IBranchAppService _BranchService, IProjInfoAppService _ProjInfoService, IEmployeeAppService _employeeInfoService) { this._FYDDService = _FYDDService; this._BranchService = _BranchService; this._ProjInfoService = _ProjInfoService; this._employeeInfoService = _employeeInfoService; }
public EmployeesController(IEmployeeAppService empAppservice, IDepartmentAppService depAppService, IRoleAppService rolAppService, ErpDemoDBContext context) { _empAppservice = empAppservice; _depAppService = depAppService; _rolAppService = rolAppService; _context = context; }
public DepartmentMembersUpdatedConsumer(IReliableStateManager stateManager, IEmployeeAppService employeeAppService) { _stateManager = stateManager; _manager = new ConversationManager(stateManager); _logger = Log.ForContext <DepartmentMembersUpdatedConsumer>(); _employeeAppService = employeeAppService; }
public ConversationCtrlAppService(StatefulServiceContext serviceContext, IReliableStateManager stateManager, IEmployeeAppService employeeAppService) : base(serviceContext, stateManager) { _employeeAppService = employeeAppService; _manager = new ConversationManager(stateManager); }
public ChequeReceiptsController(IBranchAppService _branchService, ISubsidiaryInfoAppService _subsidiaryService, ISubsidiaryCtrlAppService _subsidiaryCtrlService, IBankInfoAppService _bankInfoService, IChequeReceiptAppService _chequeReceiptService, ITransactionLogAppService _transactionLogService, ISubsidiaryExtAppService _SubsidiaryExtService, IChequeReceiptExtAppService _chqRecExtService, INewChartAppService _NewChartService, IEmployeeAppService _employeeInfoService, IJarnalVoucherAppService _jarnalVoucherService, ISalesMainAppService _salesMainService, IChequeArchiveAppService _chequeArchiveService, IBankReceiptAppService _bankReceiptService, IVchrMainAppService _vchrMainService, IMoneyReceiptAppService _moneyReceiptService, ISysSetAppService _sysSetService, IVchrSetAppService _vchrSetService, IMoneyReceiptExtAppService _moneyReceiptExtService) { this._branchService = _branchService; this._subsidiaryService = _subsidiaryService; this._subsidiaryCtrlService = _subsidiaryCtrlService; this._bankInfoService = _bankInfoService; this._chequeReceiptService = _chequeReceiptService; this._transactionLogService = _transactionLogService; this._SubsidiaryExtService = _SubsidiaryExtService; this._NewChartService = _NewChartService; this._employeeInfoService = _employeeInfoService; this._jarnalVoucherService = _jarnalVoucherService; this._chqRecExtService = _chqRecExtService; this._salesMainService = _salesMainService; this._chequeArchiveService = _chequeArchiveService; this._bankReceiptService = _bankReceiptService; this._vchrMainService = _vchrMainService; this._moneyReceiptService = _moneyReceiptService; this._sysSetService = _sysSetService; this._vchrSetService = _vchrSetService; this._moneyReceiptExtService = _moneyReceiptExtService; }
public SalesReturnController(ICommonPVVMAppService _CommonVmService, ILocationAppService _locationService, ISubsidiaryInfoAppService _subsidiaryInfoService, IItemInfoAppService _itemInfoService, ICurrentStockAppService _currentStockService, ISalesMainAppService _SalesMainService, ISalesDetailAppService _SaleDetailService, IEmployeeAppService _EmployeeService, IBranchAppService _branchService, IJarnalVoucherAppService _jarnalVoucherService, ISysSetAppService _sysSetService, IVchrSetAppService _vchrSetService, ILotDTAppService _lotDtService, ICostLedgerAppService CostLedgerAppService, IDefACAppService _defACService, IUnitAppService _unitService, ISaleRetMainAppService _saleRetMainService, IIssueMainAppService _issueMainService, ITransactionLogAppService _transactionLogService, ISaleRetDetailAppService _saleRetDetailService, IReceiveAppService _receiveMainService, IReceiveDetailsAppService _receiveDetailService) { this._CommonVmService = _CommonVmService; this._locationService = _locationService; this._subsidiaryInfoService = _subsidiaryInfoService; this._itemInfoService = _itemInfoService; this._currentStockService = _currentStockService; this._SalesMainService = _SalesMainService; this._SaleDetailService = _SaleDetailService; this._EmployeeService = _EmployeeService; this._jarnalVoucherService = _jarnalVoucherService; this._sysSetService = _sysSetService; this._vchrSetService = _vchrSetService; this._lotDtService = _lotDtService; this.CostLedgerAppService = CostLedgerAppService; this._defACService = _defACService; this._saleRetMainService = _saleRetMainService; this._branchService = _branchService; this._issueMainService = _issueMainService; this._transactionLogService = _transactionLogService; this._saleRetDetailService = _saleRetDetailService; this._receiveMainService = _receiveMainService; this._receiveDetailService = _receiveDetailService; this._unitService = _unitService; }
public CompanyEmployeeController(INotification iNotification, IEmployeeAppService iEmployeeAppService, UserManager <ApplicationUser> userManager, INotification notification, ICompanyAppService iCompanyAppService, IEmailService iEmailService) : base(iNotification) { _iEmployeeAppService = iEmployeeAppService; _userManager = userManager; _notification = notification; _iCompanyAppService = iCompanyAppService; _iEmailService = iEmailService; }
public OrgController(IMemoryCache cache, IMapper mapper, IDepartmentAppService departmentAppService, IPositionAppService positionAppService, IEmployeeAppService employeeAppService) : base(cache, mapper, departmentAppService, positionAppService) { _employeeAppService = employeeAppService; _logger = Log.ForContext <OrgController>(); }
public AccountController(IAccountAppService accountAppService, IUserAppService userAppService, IEmployeeAppService employeeAppService, IContractAppService contractAppService, ISitePersonnelLookupAppService sitePersonnelLookupAppService) { _accountAppService = accountAppService; _userAppService = userAppService; _employeeAppService = employeeAppService; _contractAppService = contractAppService; _sitePersonnelLookupAppService = sitePersonnelLookupAppService; }
public EmployeeController(IEmployeeAppService employeeAppService) { if (employeeAppService == null) { throw new ArgumentNullException("employeeAppService"); } _employeeAppService = employeeAppService; }
public AnnotationController(IEmployeeAppService employeeApp, IAnnotationTypeAppService annotationTypeApp, IAuthUserAppService authUserAppService, IEvaluationNotesAppService evaluationNotesAppService) { _annotationTypeApp = annotationTypeApp; _authUserAppService = authUserAppService; _evaluationNotesAppService = evaluationNotesAppService; }
public AccountsController(IEmployeeAppService _employeeService, IFYDDAppService _FYDDAppService, IBranchAppService _branchService, IFuncSLAppService _funcSLService, IEmployeeFuncAppService _employeeFuncService, IUserBranchAppService _userbranchService) { this._employeeService = _employeeService; this._FYDDAppService = _FYDDAppService; this._branchService = _branchService; this._funcSLService = _funcSLService; this._employeeFuncService = _employeeFuncService; this._userbranchService = _userbranchService; }
public LeaveRequestsController( ILeaveRequestAppService leaveRequestAppService, IUserAppService userAppService, IEmployeeAppService employeeAppService) { _leaveRequestAppService = leaveRequestAppService; _userAppService = userAppService; _employeeAppService = employeeAppService; }
public AccountController(SignInManager <ApplicationUser> signInManager, ILogger <LoginViewModel> logger, UserManager <ApplicationUser> userManager, ICompanyAppService iCompanyAppService, IEmailService iEmailService, IEmployeeAppService iEmployeeAppService) { _signInManager = signInManager; _logger = logger; _userManager = userManager; _iCompanyAppService = iCompanyAppService; _iEmailService = iEmailService; _iEmployeeAppService = iEmployeeAppService; }
public SelectList LoadAppBy(IEmployeeAppService _employeeInfoService) { string branchCode = Session["BranchCode"].ToString(); string form = "Vat 9.1"; string functionName = "Approved By"; string LogName = Session["UserName"].ToString(); string sql = string.Format("EXEC loadRecvIssuBy '" + branchCode + "','" + form + "', '" + LogName + "', '" + functionName + "'"); var items = _employeeInfoService.SqlQueary(sql) .Select(x => new { x.Id, x.UserName }).ToList(); return(new SelectList(items.OrderBy(x => x.UserName), "Id", "UserName")); }
public ListOfTransactionController(IBranchAppService _BranchService, IEmployeeAppService _employeeService, IJTrGrpAppService _jTrGrpService, IJarnalVoucherAppService _jarnalVoucherService, IUserBranchAppService _userbranchService, IFYDDAppService _FYDDService, ISysSetAppService _sysSetService) { this._jTrGrpService = _jTrGrpService; this._BranchService = _BranchService; this._employeeService = _employeeService; this._jarnalVoucherService = _jarnalVoucherService; this._userbranchService = _userbranchService; this._FYDDService = _FYDDService; this._sysSetService = _sysSetService; }
public EmployeeApp() { try { EmployeeApp._container.Register(Component.For<IEmployeeAppService>().ImplementedBy<EmployeeAppService>()); } catch { } _employeeAppService = EmployeeApp._container.Resolve<IEmployeeAppService>(); }
public EmployeeController(IMemoryCache cache, IMapper mapper, IDepartmentAppService departmentAppService, IPositionAppService positionAppService, IEmployeeAppService employeeAppService, IGroupAppService groupAppService, Func <Guid, IUserFavoriteAppService> userFavoriteAppServiceFactory, Func <Guid, IUserSettingAppService> userSettingAppServiceFactory ) : base(cache, mapper, departmentAppService, positionAppService) { _employeeAppService = employeeAppService; _groupAppService = groupAppService; _userFavoriteAppServiceFactory = userFavoriteAppServiceFactory; _userSettingAppServiceFactory = userSettingAppServiceFactory; _logger = Log.ForContext <EmployeeController>(); }
public ScheduleRptController(IItemInfoAppService _ItemService, ISubsidiaryInfoAppService _SubsidiaryService, INewChartAppService _NewChartService, IBranchAppService _BranchService, IEmployeeAppService _employeeService, ISummaryReportAppService _summaryReportService, IUserBranchAppService _userbranchService, IDynaCapAppService _dynaCapService, ISysSetAppService _sysSetService, IFYDDAppService _FYDDService) { this._ItemService = _ItemService; this._SubsidiaryService = _SubsidiaryService; this._NewChartService = _NewChartService; this._BranchService = _BranchService; this._employeeService = _employeeService; this._summaryReportService = _summaryReportService; this._userbranchService = _userbranchService; this._sysSetService = _sysSetService; this._dynaCapService = _dynaCapService; this._FYDDService = _FYDDService; }
public void EmployeeAppService_GetAll() { var employees = new List <Employee> { GenerateEmployeeOk() }; _employeeRepository.Setup(e => e.GetAll()).Returns(employees); _employeeAppService = new EmployeeAppService(_employeeRepository.Object); var result = _employeeAppService.GetAll(); Assert.NotNull(result); Assert.NotNull(result.Return); Assert.False(result.MessageErrors.Any()); Assert.False(result.ValidationErrors.Any()); Assert.Equal(employees, (List <Employee>)result.Return); }
public CashBookController(ISummaryReportAppService _SumRptService, ISummaryReportTypeAppService _SumRptTypeService, ILedgerCaptionAppService _LedgerCapService, IUserBranchAppService _userbranchService, IEmployeeAppService _employeeService, IBranchAppService _BranchService, ICashBookAppService _CashBookService, ICashOperationAppService _CashOperationService, ISecUserInfoAppService _secUserInfoService, IFYDDAppService _FYDDService, ISysSetAppService _sysSetService) { this._SumRptService = _SumRptService; this._SumRptTypeService = _SumRptTypeService; this._LedgerCapService = _LedgerCapService; this._BranchService = _BranchService; this._CashBookService = _CashBookService; this._CashOperationService = _CashOperationService; this._employeeService = _employeeService; this._userbranchService = _userbranchService; this._secUserInfoService = _secUserInfoService; this._FYDDService = _FYDDService; this._sysSetService = _sysSetService; }
public DepositToBankController( ICashOperationAppService _CashOperationService, ICashReceiptAppService _cashReceiptAppService, IWithdrawAppService _withdrawService, IExpenseAppService _ExpenseService, IDepositToBankAppService _DepositToBankService, IEmployeeAppService _EmployeeService, ISubsidiaryInfoAppService _subsidiaryService, IItemInfoAppService _ItemService, INewChartAppService _NewChartService, ILocationAppService _LocationService, IUnitAppService _UnitService, ITransactionLogAppService _transactionLogService, IBankOperationAppService _BankOperationService, IJarnalVoucherAppService _jarnalVoucherService, ISysSetAppService _sysSetService, IOpnBalAppService _OpnBalService, IPaymentAppService _paymentService, IHORemitAppService _HORemitService, IAcBRAppService _AcBrService, IBankReceiptAppService _BankReceiptAppService, IGsetAppService _gsetService) { this._CashOperationService = _CashOperationService; this._cashReceiptAppService = _cashReceiptAppService; this._withdrawService = _withdrawService; this._ExpenseService = _ExpenseService; this._DepositToBankService = _DepositToBankService; this._subsidiaryService = _subsidiaryService; this._NewChartService = _NewChartService; this._EmployeeService = _EmployeeService; this._subsidiaryService = _subsidiaryService; this._ItemService = _ItemService; this._LocationService = _LocationService; this._UnitService = _UnitService; this._transactionLogService = _transactionLogService; this._jarnalVoucherService = _jarnalVoucherService; this._sysSetService = _sysSetService; this._OpnBalService = _OpnBalService; this._paymentService = _paymentService; this._HORemitService = _HORemitService; this._BankReceiptAppService = _BankReceiptAppService; this._BankOperationService = _BankOperationService; this._gsetService = _gsetService; this._AcBrService = _AcBrService; }
public ReportController(IReportLedgerAppService _ReportLedgerService, ILedgerTypeAppService _LedgerTypeService, ILedgerCaptionAppService _LedgerCapService, IItemInfoAppService _ItemService, ISubsidiaryInfoAppService _SubsidiaryService, INewChartAppService _NewChartService, IBranchAppService _BranchService, IEmployeeAppService _employeeService, IJarnalVoucherAppService _jarnalVoucher, IVchrPreviewVMAppService _VchrPreviewVMService, IUserBranchAppService _userbranchService, IFYDDAppService _FYDDService, ISysSetAppService _sysSetService) { this._ReportLedgerService = _ReportLedgerService; this._LedgerTypeService = _LedgerTypeService; this._LedgerCapService = _LedgerCapService; this._ItemService = _ItemService; this._SubsidiaryService = _SubsidiaryService; this._NewChartService = _NewChartService; this._BranchService = _BranchService; this._employeeService = _employeeService; this._jarnalVoucher = _jarnalVoucher; this._VchrPreviewVMService = _VchrPreviewVMService; this._userbranchService = _userbranchService; this._FYDDService = _FYDDService; this._sysSetService = _sysSetService; }
public HORemittanceController(IEmployeeAppService _employeeService, IHORemitAppService _hoRemitService, IBankOperationAppService _bankOperationService, ITransactionLogAppService _transactionLogService, IDepositToBankAppService _depositToBankService, IBankReceiptAppService _BankReceiptAppService, IJarnalVoucherAppService _jarnalVoucherService, ISysSetAppService _sysSetService, IOpnBalAppService _OpnBalService, IPaymentAppService _paymentService, IWithdrawAppService _withdrawService, IGsetAppService _gsetService) { this._bankOperationService = _bankOperationService; this._employeeService = _employeeService; this._hoRemitService = _hoRemitService; this._transactionLogService = _transactionLogService; this._depositToBankService = _depositToBankService; this._BankReceiptAppService = _BankReceiptAppService; this._jarnalVoucherService = _jarnalVoucherService; this._sysSetService = _sysSetService; this._OpnBalService = _OpnBalService; this._paymentService = _paymentService; this._withdrawService = _withdrawService; this._gsetService = _gsetService; }
public SummaryReportController(ILocationAppService _locationService, ISummaryReportAppService _SumRptService, ISummaryReportTypeAppService _SumRptTypeService, ILedgerCaptionAppService _LedgerCapService, IBranchAppService _BranchService, IEmployeeAppService _employeeService, INewChartAppService _newchartAppService, ISubsidiaryInfoAppService _SubsidiaryService, IItemInfoAppService _ItemService, IReportLedgerAppService _ReportLedgerService, IVchrPreviewVMAppService _VchrPreviewVMService, IUserBranchAppService _userbranchService, IFYDDAppService _FYDDService, ISysSetAppService _sysSetService) { this._locationService = _locationService; this._SumRptService = _SumRptService; this._SumRptTypeService = _SumRptTypeService; this._LedgerCapService = _LedgerCapService; this._BranchService = _BranchService; this._employeeService = _employeeService; this._newchartAppService = _newchartAppService; this._SubsidiaryService = _SubsidiaryService; this._ItemService = _ItemService; this._ReportLedgerService = _ReportLedgerService; this._VchrPreviewVMService = _VchrPreviewVMService; this._userbranchService = _userbranchService; this._FYDDService = _FYDDService; this._sysSetService = _sysSetService; }