public EmployeeService(IEmployeeRepo employeeRepo, IHttpClientFactory clientFactory, IOptions <AppSettings> appSettings, IMapper mapper) : base(employeeRepo) { _clientFactory = clientFactory; _appSettings = appSettings.Value; _employeeUrl = _appSettings.LeviathanUrl + _employeePath; _mapper = mapper; }
public PasswordChangeController(IEmployeeRepo repo, IClientContactInfoRepo crepo, IPasswordTools tools, IComMail mail) { _repo = repo; _tools = tools; _comMail = mail; _crepo = crepo; }
public EmployeeService( IEmployeeRepo employeeRepo, IOptions <AppSettings> appSettings) { _repository = employeeRepo; _appSettings = appSettings.Value; }
public EmployeeService( IEmployeeRepo <Employee> eRepo, ILogger <EmployeeService> logger) { this._eRepo = eRepo; this._logger = logger; }
public AdminController(ICompanyRepo compRep, IEmployeeRepo empRep, IEmployeeLoginDataRepo eldRep, ICompanyDepartmentRepo compDepRep) { this.compRep = compRep; this.empRep = empRep; this.eldRep = eldRep; this.compDepRep = compDepRep; }
private YearBonusAPI CreateYearBonusAPI() { _employee = Substitute.For <IEmployeeRepo>(); _account = Substitute.For <IAccountingRepo>(); return(new YearBonusAPI(_employee, _account)); }
public EmployeeController( IEmployeeRepo employeeRepo, IMapper mapper) { _employeeRepo = employeeRepo; _mapper = mapper; }
public EmployeeQuery(IEmployeeRepo employee) { Field <ListGraphType <EmployeeType> >( "employees", resolve: context => employee.GetEmployees() ); }
public HomeController( IEmployeeRepo employeeRepo, IWebHostEnvironment host ) { _employeeRepo = employeeRepo; this.host = host; }
public EmployeeController(IEmployeeRepo repo, IDepartmentRepo department, ICountryRepo country, ICityRepo city) { this.repo = repo; this.department = department; this.city = city; this.country = country; }
public EmployeeService( IEmployeeRepo employeeRepo, IDepartmentRepo departmentRepo, IPositionRepo positionRepo) { _repository = employeeRepo; _departmentRepo = departmentRepo; _positionRepo = positionRepo; }
public DefaultValuesService( IDefaultValuesRepo defaultValuesRepo, IDepartmentRepo departmentRepo, IEmployeeRepo employeeRepo) { _repository = defaultValuesRepo; _departmentRepo = departmentRepo; _employeeRepo = employeeRepo; }
public MarkApprovalService( IMarkApprovalRepo markApprovalRepo, IMarkRepo markRepo, IEmployeeRepo employeeRepo) { _repository = markApprovalRepo; _markRepo = markRepo; _employeeRepo = employeeRepo; }
public Service(string conn) { this._conn = conn; _artistRepo = new ArtistDbRepo(_conn); _employeeRepo = new EmployeesDbRepo(_conn); _officeRepo = new OfficeDbRepo(_conn); _showRepo = new ShowDbRepo(_conn); _transactionRepo = new TransDbRepo(_conn); }
public EstimationPagesDocumentService( IMarkRepo markRepo, IEmployeeRepo employeeRepo, IOptions <AppSettings> appSettings) { _markRepo = markRepo; _employeeRepo = employeeRepo; _appSettings = appSettings.Value; }
public EstimateTaskService( IEstimateTaskRepo estimateTaskRepo, IMarkRepo markRepo, IEmployeeRepo employeeRepo) { _repository = estimateTaskRepo; _markRepo = markRepo; _employeeRepo = employeeRepo; }
public List <Employee> SearchEMPByData(string data) { using (DalSession dalSession = new DalSession()) { UnitOfWork unitOfWork = dalSession.UnitOfWork(); unitOfWork.Begin(); _employeeRepo = new EmployeeRepo(unitOfWork); return(_employeeRepo.SearchEMPByData(data)); } }
public EmployeeBLRepo(int choice) { if (choice == 1) { employeeRepo = new EmployeeRepo(); } else if (choice == 2) { employeeRepo = new AccessDBTable(); } }
public EmployeeBLRepo(int n) { if (n == 1) { emp = new Employee(); } if (n == 2) { emp = new EmployeeRepo(); } }
private RequisitionManagementService() { requisitionRepo = RequisitionRepo.Instance; requisitionDetailRepo = RequisitionDetailRepo.Instance; employeeRepo = EmployeeRepo.Instance; adjustmentVoucherRepo = AdjustmentVoucherRepo.Instance; stationeryRepo = StationeryRepo.Instance; purchaseOrderRepo = PurchaseOrderRepo.Instance; purchaseOrderDetailRepo = PurchaseOrderDetailRepo.Instance; emailNotificationService = EmailNotificationService.Instance; }
public AdditionalWorkService( IAdditionalWorkRepo additionalWorkRepo, IMarkRepo markRepo, IEmployeeRepo employeeRepo, IDocRepo docRepo) { _repository = additionalWorkRepo; _markRepo = markRepo; _employeeRepo = employeeRepo; _docRepo = docRepo; }
public DocService( IDocRepo docRepo, IMarkRepo markRepo, IEmployeeRepo employeeRepo, IDocTypeRepo docTypeRepo) { _repository = docRepo; _markRepo = markRepo; _employeeRepo = employeeRepo; _docTypeRepo = docTypeRepo; }
private RequisitionCatalogueService() { cartDetailRepo = CartDetailRepo.Instance; stationeryRepo = StationeryRepo.Instance; requisitionRepo = RequisitionRepo.Instance; requisitionDetailRepo = RequisitionDetailRepo.Instance; adjustmentVoucherRepo = AdjustmentVoucherRepo.Instance; employeeRepo = EmployeeRepo.Instance; purchaseOrderDetailRepo = PurchaseOrderDetailRepo.Instance; emailNotificationService = EmailNotificationService.Instance; disbursementRepo = DisbursementRepo.Instance; }
public MarkService( IMarkRepo markRepo, ISubnodeRepo subnodeRepo, IDepartmentRepo departmentRepo, IEmployeeRepo employeeRepo, ISpecificationService specificationService) { _repository = markRepo; _subnodeRepo = subnodeRepo; _departmentRepo = departmentRepo; _employeeRepo = employeeRepo; _specificationService = specificationService; }
public ConstructionDocumentService( IMarkRepo markRepo, IEmployeeRepo employeeRepo, IConstructionRepo constructionRepo, IStandardConstructionRepo standardConstructionRepo, IConstructionElementRepo constructionElementRepo, IOptions <AppSettings> appSettings) { _markRepo = markRepo; _employeeRepo = employeeRepo; _constructionRepo = constructionRepo; _standardConstructionRepo = standardConstructionRepo; _constructionElementRepo = constructionElementRepo; _appSettings = appSettings.Value; }
public ChartService() { stationeryRepo = StationeryRepo.Instance; categoryRepo = CategoryRepo.Instance; supplierTenderRepo = SupplierTenderRepo.Instance; supplierRepo = SupplierRepo.Instance; adjustmentVoucherRepo = AdjustmentVoucherRepo.Instance; adjustmentVoucherDetailRepo = AdjustmentVoucherDetailRepo.Instance; requisitionRepo = RequisitionRepo.Instance; requisitionDetailRepo = RequisitionDetailRepo.Instance; disbursementRepo = DisbursementRepo.Instance; employeeRepo = EmployeeRepo.Instance; departmentRepo = DepartmentRepo.Instance; purchaseOrderRepo = PurchaseOrderRepo.Instance; purchaseOrderDetailRepo = PurchaseOrderDetailRepo.Instance; }
public MarkService( IMarkRepo markRepo, ISubnodeRepo subnodeRepo, IDepartmentRepo departmentRepo, IEmployeeRepo employeeRepo, IEstimateTaskRepo estimateTaskRepo, ISpecificationService specificationService, IMarkGeneralDataPointService markGeneralDataPointService) { _repository = markRepo; _subnodeRepo = subnodeRepo; _departmentRepo = departmentRepo; _employeeRepo = employeeRepo; _estimateTaskRepo = estimateTaskRepo; _specificationService = specificationService; _markGeneralDataPointService = markGeneralDataPointService; }
public EmployeeTable( IEmployeeRepo employeeRepo) { InitializeComponent(); _employeeRepo = employeeRepo; List <object> rowEmployee = new List <object>(); foreach (var item in _employeeRepo.GetIds()) { EmployeeRow employeeRow = new EmployeeRow(employeeRepo); employeeRow.SetEmployeeId(item); rowEmployee.Add(new { Row = employeeRow }); } ListEmployee.ItemsSource = rowEmployee; }
public DocumentService( IMarkGeneralDataPointRepo markGeneralDataPointRepo, IMarkRepo markRepo, IMarkApprovalRepo markApprovalRepo, IEmployeeRepo employeeRepo, IDocRepo docRepo, IMarkLinkedDocRepo markLinkedDocRepo, IAttachedDocRepo attachedDocRepo) { _markGeneralDataPointRepo = markGeneralDataPointRepo; _markRepo = markRepo; _markApprovalRepo = markApprovalRepo; _employeeRepo = employeeRepo; _docRepo = docRepo; _markLinkedDocRepo = markLinkedDocRepo; _attachedDocRepo = attachedDocRepo; }
private RetrievalService() { stationeryRepo = StationeryRepo.Instance; categoryRepo = CategoryRepo.Instance; requisitionRepo = RequisitionRepo.Instance; requisitionDetailRepo = RequisitionDetailRepo.Instance; disbursementRepo = DisbursementRepo.Instance; employeeRepo = EmployeeRepo.Instance; departmentRepo = DepartmentRepo.Instance; purchaseOrderRepo = PurchaseOrderRepo.Instance; collectionPointRepo = CollectionPointRepo.Instance; adjustmentVoucherRepo = AdjustmentVoucherRepo.Instance; adjustmentVoucherDetailRepo = AdjustmentVoucherDetailRepo.Instance; requisitionCatalogueService = RequisitionCatalogueService.Instance; purchaseOrderDetailRepo = PurchaseOrderDetailRepo.Instance; publicHolidayRepo = PublicHolidayRepo.Instance; }
public NorthwindEmployeeService(IEmployeeRepo repo) { this.repo = repo; }