public ResearchController(IMaterialsService materialsService,
                           IEmployeesService employeeService, ILogger <ResearchController> logger)
 {
     this.employeeService  = employeeService;
     this.materialsService = materialsService;
     this.logger           = logger;
 }
 public MyCustomerController(ICustomerService customerService, IEmployeesService employeesService, IPositionService positionService, IMapperFactory mapperFactory)
 {
     _customerService = customerService;
     _employeesService = employeesService;
     _positionService = positionService;
     _mapperFactory = mapperFactory;
 }
 public EmployeesController(
     IUsersService usersService,
     IEmployeesService employeesService)
 {
     _usersService     = usersService;
     _employeesService = employeesService;
 }
Example #4
0
 public FaPiaoController(IMapperFactory mapperFactory, IFaPiaoService fapiaoService, IFinanceService financeService, IEmployeesService employeesService)
 {
     _mapperFactory = mapperFactory;
     _fapiaoService = fapiaoService;
     _financeService = financeService;
     _employeesService = employeesService;
 }
 //------------- CONSTRUCTORS --------------
 public EmployeesController(IEmployeesService employeesService, IJobPositionsService jobPositionsService, IOperatingLocationsService operatingLocationsService)
 {
     this.employeesService          = employeesService;
     this.jobPositionsService       = jobPositionsService;
     this.operatingLocationsService = operatingLocationsService;
     this.employeeInputModel        = new EmployeeInputModel();
 }
Example #6
0
 public RegionsController(
     IRegionService regionService,
     IEmployeesService employeesService)
 {
     _regionService    = regionService;
     _employeesService = employeesService;
 }
Example #7
0
 public OneononesService(
     IOneononesRepository oneononesRepository,
     IEmployeesService employeesService)
 {
     this.employeesService    = employeesService;
     this.oneononesRepository = oneononesRepository;
 }
Example #8
0
 public SalariesController(
     IEmployeesService employeesService,
     ILogger <SalariesController> logger)
 {
     EmployeesService = employeesService;
     Logger           = logger;
 }
 //------------- CONSTRUCTORS --------------
 /// <summary>
 /// Initializes a new <see cref="OperatingLocationsService"/>.
 /// </summary>
 /// <param name="dbContext">Database context</param>
 public OperatingLocationsService(ApplicationDbContext dbContext, IDepartmentsService departmentsService, IPhonesService phonesService, IEmployeesService employeesService)
 {
     this.dbContext          = dbContext;
     this.departmentsService = departmentsService;
     this.phonesService      = phonesService;
     this.employeesService   = employeesService;
 }
Example #10
0
        public WeatherForecastController(ILogger <WeatherForecastController> logger, IEmployeesService IEmployeeservice)
        {
            _IEmployeesService = IEmployeeservice;

            _logger = logger;
            _clienthandler.ServerCertificateCustomValidationCallback = (sender, cert, chain, SslPolicyErrors) => { return(true); };
        }
Example #11
0
 public EmployeesController(IEmployeesService employeesService, IRolesService rolesService, ICarpetUsersService usersService, ICloudinaryService cloudinaryService)
 {
     this.employeesService  = employeesService;
     this.rolesService      = rolesService;
     this.usersService      = usersService;
     this.cloudinaryService = cloudinaryService;
 }
 public EmployeesController(IMapper mapper, IEmployeesService employeesService, IWorkContext workContext, IRoleService roleService)
 {
     _employeesService = employeesService;
     _mapper           = mapper;
     _roleService      = roleService;
     _workContext      = workContext;
 }
Example #13
0
 public EmployeesController(
     IEmployeesService employeesService,
     ApplicationDbContext context)
 {
     this.employeesService = employeesService;
     this.context          = context;
 }
 public ManagersService(
     EmployeesSalaryCalculationContext bloggingContext,
     IEmployeesService employeesService)
 {
     _bloggingContext  = bloggingContext;
     _employeesService = employeesService;
 }
 public SecurityController(IEmployeesService employeesService)
 {
     if (employeesService == null)
     {
         throw new ArgumentNullException("employeesService");
     }
     _employeesService = employeesService;
 }
        public void Excute()
        {
            Console.WriteLine("隊列任務");
            EmployeesService = new EmployeesService();
            var result = EmployeesService.GetAll();

            Console.WriteLine($"資料筆數:{result.Count}");
        }
Example #17
0
 public EmployeesController(IEmployeesService employeesService,
                            IRolesService employeesRolesService,
                            IConfiguration config)
 {
     _employeesService      = employeesService;
     _employeesRolesService = employeesRolesService;
     _config = config;
 }
 public AddUsersStartupTask(UserManager <IdentityUser> userManager,
                            IEmployeesService employeesService,
                            ILogger <AddUsersStartupTask> logger)
 {
     _employeesService = employeesService;
     _logger           = logger;
     _userManager      = userManager;
 }
 public OrderReviewController(IOrderReviewService orderReviewService, IAuditLevelService auditLevelService, IEmployeesService employeesService, IMapperFactory mapperFactory, IOrderService orderService)
 {
     _orderReviewService = orderReviewService;
     _auditLevelService = auditLevelService;
     _employeesService = employeesService;
     _orderService = orderService;
     _mapperFactory = mapperFactory;
 }
Example #20
0
 public GarageService(IDeletableEntityRepository <VehicleEmployee> garageRepository, IVehiclesService vehiclesService, IEmployeesService employeesService, IDeletableEntityRepository <Employee> employeeRepository, IDeletableEntityRepository <Order> orderRepository)
 {
     this.garageRepository   = garageRepository;
     this.vehiclesService    = vehiclesService;
     this.employeesService   = employeesService;
     this.employeeRepository = employeeRepository;
     this.orderRepository    = orderRepository;
 }
Example #21
0
 public FactoryController(IEmployeesService employeesService, IMachinesService machinesService, IRequestService requestService,
                          IDelivererService delivererService)
 {
     this.employeesService = employeesService;
     this.machinesService  = machinesService;
     this.requestService   = requestService;
     this.delivererService = delivererService;
 }
 public EmployeeHolidaysBackgroundUpdater(ITimeService timeService, IEmployeeRepository employeeRepository,
                                          ILogger <EmployeeHolidaysBackgroundUpdater> logger, IEmployeesService employeesService)
 {
     _timeService        = timeService;
     _employeeRepository = employeeRepository;
     _logger             = logger;
     _employeesService   = employeesService;
 }
Example #23
0
 public SampleController(ISampleService sampleService, IMapperFactory mapperFactory, IEmployeesService employeesService, IPositionService positionService, IAuditLevelService auditLevelService)
 {
     _sampleService = sampleService;
     _mapperFactory = mapperFactory;
     _employeesService = employeesService;
     _positionService = positionService;
     _auditLevelService = auditLevelService;
 }
Example #24
0
 public ManageController(
     IProjectsService projectsService,
     ITeamsService teamsService,
     IEmployeesService employeesService)
 {
     this.employeesService = employeesService;
     this.teamsService     = teamsService;
     this.projectsService  = projectsService;
 }
Example #25
0
 public EmployeesServiceTests()
 {
     _mockMapper                   = new Mock <IMapper>();
     _mockEmployeeRepository       = new Mock <IEmployeeRepository>();
     _mockSkillAssigmentRepository = new Mock <ISkillAssigmentRepository>();
     _mockSkillRepository          = new Mock <ISkillRepository>();
     _employeesService             = new EmployeesService(_mockMapper.Object, _mockEmployeeRepository.Object,
                                                          _mockSkillAssigmentRepository.Object, _mockSkillRepository.Object);
 }
Example #26
0
 public BarcodeController(
     IEmployeesService employeesService, 
     IUserDepartmentsService userDepartmentsService,
     IBioStarService bioStarService)
 {
     _employeesService = employeesService;
     _userDepartmentsService = userDepartmentsService;
     _bioStarService = bioStarService;
 }
Example #27
0
 public DashboardsService(
     IEmployeesService employeesService,
     IOneononesService oneononesService,
     IHistoricalsService historicalsService)
 {
     this.employeesService   = employeesService;
     this.oneononesService   = oneononesService;
     this.historicalsService = historicalsService;
 }
Example #28
0
 public OrdersService(IDeletableEntityRepository <Order> orderRepository, ICustomersService customersService, IOrderStatusService orderStatusService, IEmployeesService employeesService, IItemsService itemsService, IOrderItemsService orderItemsService)
 {
     this.orderRepository    = orderRepository;
     this.customersService   = customersService;
     this.orderStatusService = orderStatusService;
     this.employeesService   = employeesService;
     this.itemsService       = itemsService;
     this.orderItemsService  = orderItemsService;
 }
 public RolesController(RoleManager <Role> roleService, UserManager <User> profileService,
                        IEmployeesService employeeService, IMapper mapper, ILogger <RolesController> logger)
 {
     this.roleService     = roleService;
     this.profileService  = profileService;
     this.employeeService = employeeService;
     this.mapper          = mapper;
     this.logger          = logger;
 }
 public EmployeeController(
     EmployeesSalaryCalculationContext bloggingContext,
     IEmployeeHelper employeeHelper,
     IEmployeesService employeesService)
 {
     _bloggingContext  = bloggingContext;
     _employeeHelper   = employeeHelper;
     _employeesService = employeesService;
 }
Example #31
0
 public BarcodeController(
     IEmployeesService employeesService,
     IUserDepartmentsService userDepartmentsService,
     IBioStarService bioStarService)
 {
     _employeesService       = employeesService;
     _userDepartmentsService = userDepartmentsService;
     _bioStarService         = bioStarService;
 }
Example #32
0
 public CompaniesService(
     IDeletableEntityRepository <Company> categoriesRepository,
     IEmployeesService employeesService,
     IOfficesService officesService)
 {
     this.companiesRepository = categoriesRepository;
     this.employeesService    = employeesService;
     this.officesService      = officesService;
 }
Example #33
0
 public TeamsController(
     ITeamsService teamsService,
     IEmployeesService employeesService,
     IMappingService mappingService)
 {
     this.employeesService = employeesService;
     this.mappingService   = mappingService;
     this.teamsService     = teamsService;
 }
Example #34
0
 public HomeController(
     IEmployeesLogService employeesLogService,
     IEventLogService eventLogService,
     IEmployeesService employeesService)
 {
     _employeesLogService = employeesLogService;
     _eventLogService     = eventLogService;
     _employeesService    = employeesService;
 }
 public HistoricalsService(
     IHistoricalsRepository historicalsRepository,
     IEmployeesService employeesService,
     IOneononesService oneononesService)
 {
     this.historicalsRepository = historicalsRepository;
     this.employeesService      = employeesService;
     this.oneononesService      = oneononesService;
 }
Example #36
0
 public HomeController(
     IEmployeesLogService employeesLogService,
     IEventLogService eventLogService, 
     IEmployeesService employeesService)
 {
     
     _employeesLogService = employeesLogService;
     _eventLogService = eventLogService;
     _employeesService = employeesService;
 }
Example #37
0
 public OrderController(IAuditLevelService auditLevelService, IEnquiryService enquiryService,
     IMapperFactory mapperFactory, IEmployeesService employeesService, IPositionService positionService,
     IOrderService orderService, IPayPeriodService payPeriodService, ICustomerService customerService)
 {
     _auditLevelService = auditLevelService;
     _enquiryService = enquiryService;
     _mapperFactory = mapperFactory;
     _employeesService = employeesService;
     _positionService = positionService;
     _orderService = orderService;
     _payPeriodService = payPeriodService;
     _customerService = customerService;
 }
 public MyEnquiryController(IEnquiryService enquiryService,
     IMapperFactory mapperFactory,
     IEmployeesService employeesService,
     IPositionService positionService,
     IProductService productService,
     ICustomerService customerService)
 {
     _enquiryService = enquiryService;
     _mapperFactory = mapperFactory;
     _employeesService = employeesService;
     _positionService = positionService;
     _productService = productService;
     _customerService = customerService;
 }
Example #39
0
 public ConfirmController(
     IEmployeesService employeesService,
     IEmployeesLogService employeesLogService,
     IUserDepartmentsService userDepartmentsService,
     IDepartmentService departmentService,
     IGAService gaService
     )
 {
     _employeesService = employeesService;
     _employeesLogService = employeesLogService;
     _userDepartmentsService = userDepartmentsService;
     _departmentService = departmentService;
     _gaService = gaService;
 }
 public HomeController(IEmployeesService currencyService)
 {
     _currencyService = currencyService;
 }
 public CustomerController(ICustomerService customerService, IEmployeesService employeesService, IMapperFactory mapperFactory)
 {
     _customerService = customerService;
     _employeesService = employeesService;
     _mapperFactory = mapperFactory;
 }
Example #42
0
 public OrderCheckUnitPriceController(IEnquiryService enquiryService,
      IEmployeesService employeesService)
 {
     _enquiryService = enquiryService;
     _employeesService = employeesService;
 }
 public EmployeeController(IEmployeesService employeeService)
 {
     _employeeService = employeeService;
 }
 public ApplyExpenseController(IApplyExpenseService applyExpenseService, IEmployeesService employeesService, IMapperFactory mapperFactory)
 {
     _applyExpenseService = applyExpenseService;
     _employeesService = employeesService;
     _mapperFactory = mapperFactory;
 }
Example #45
0
 public ReportLogsController(IEmployeesService employeesService, 
     IUserDepartmentsService userDepartmentsService)
 {
     _employeesService = employeesService;
     _userDepartmentsService = userDepartmentsService;
 }
        public MyEnquiryByCustomerController(IEnquiryService enquiryService,
            IMapperFactory mapperFactory,
            IEmployeesService employeesService,
            IPositionService positionService)
        {
            _enquiryService = enquiryService;
            _mapperFactory = mapperFactory;
            _employeesService = employeesService;
            _positionService = positionService;

        }