public ResearchController(IMaterialsService materialsService,
                           IEmployeesService employeeService, ILogger <ResearchController> logger)
 {
     this.employeeService  = employeeService;
     this.materialsService = materialsService;
     this.logger           = logger;
 }
예제 #2
0
 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;
 }
예제 #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();
 }
예제 #6
0
 public RegionsController(
     IRegionService regionService,
     IEmployeesService employeesService)
 {
     _regionService    = regionService;
     _employeesService = employeesService;
 }
예제 #7
0
 public OneononesService(
     IOneononesRepository oneononesRepository,
     IEmployeesService employeesService)
 {
     this.employeesService    = employeesService;
     this.oneononesRepository = oneononesRepository;
 }
예제 #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;
 }
예제 #10
0
        public WeatherForecastController(ILogger <WeatherForecastController> logger, IEmployeesService IEmployeeservice)
        {
            _IEmployeesService = IEmployeeservice;

            _logger = logger;
            _clienthandler.ServerCertificateCustomValidationCallback = (sender, cert, chain, SslPolicyErrors) => { return(true); };
        }
예제 #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;
 }
예제 #13
0
 public EmployeesController(
     IEmployeesService employeesService,
     ApplicationDbContext context)
 {
     this.employeesService = employeesService;
     this.context          = context;
 }
 public ManagersService(
     EmployeesSalaryCalculationContext bloggingContext,
     IEmployeesService employeesService)
 {
     _bloggingContext  = bloggingContext;
     _employeesService = employeesService;
 }
예제 #15
0
 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}");
        }
예제 #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;
 }
예제 #19
0
 public OrderReviewController(IOrderReviewService orderReviewService, IAuditLevelService auditLevelService, IEmployeesService employeesService, IMapperFactory mapperFactory, IOrderService orderService)
 {
     _orderReviewService = orderReviewService;
     _auditLevelService = auditLevelService;
     _employeesService = employeesService;
     _orderService = orderService;
     _mapperFactory = mapperFactory;
 }
예제 #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;
 }
예제 #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;
 }
예제 #23
0
 public SampleController(ISampleService sampleService, IMapperFactory mapperFactory, IEmployeesService employeesService, IPositionService positionService, IAuditLevelService auditLevelService)
 {
     _sampleService = sampleService;
     _mapperFactory = mapperFactory;
     _employeesService = employeesService;
     _positionService = positionService;
     _auditLevelService = auditLevelService;
 }
예제 #24
0
 public ManageController(
     IProjectsService projectsService,
     ITeamsService teamsService,
     IEmployeesService employeesService)
 {
     this.employeesService = employeesService;
     this.teamsService     = teamsService;
     this.projectsService  = projectsService;
 }
예제 #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);
 }
예제 #26
0
 public BarcodeController(
     IEmployeesService employeesService, 
     IUserDepartmentsService userDepartmentsService,
     IBioStarService bioStarService)
 {
     _employeesService = employeesService;
     _userDepartmentsService = userDepartmentsService;
     _bioStarService = bioStarService;
 }
예제 #27
0
 public DashboardsService(
     IEmployeesService employeesService,
     IOneononesService oneononesService,
     IHistoricalsService historicalsService)
 {
     this.employeesService   = employeesService;
     this.oneononesService   = oneononesService;
     this.historicalsService = historicalsService;
 }
예제 #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;
 }
예제 #31
0
 public BarcodeController(
     IEmployeesService employeesService,
     IUserDepartmentsService userDepartmentsService,
     IBioStarService bioStarService)
 {
     _employeesService       = employeesService;
     _userDepartmentsService = userDepartmentsService;
     _bioStarService         = bioStarService;
 }
예제 #32
0
 public CompaniesService(
     IDeletableEntityRepository <Company> categoriesRepository,
     IEmployeesService employeesService,
     IOfficesService officesService)
 {
     this.companiesRepository = categoriesRepository;
     this.employeesService    = employeesService;
     this.officesService      = officesService;
 }
예제 #33
0
 public TeamsController(
     ITeamsService teamsService,
     IEmployeesService employeesService,
     IMappingService mappingService)
 {
     this.employeesService = employeesService;
     this.mappingService   = mappingService;
     this.teamsService     = teamsService;
 }
예제 #34
0
 public HomeController(
     IEmployeesLogService employeesLogService,
     IEventLogService eventLogService,
     IEmployeesService employeesService)
 {
     _employeesLogService = employeesLogService;
     _eventLogService     = eventLogService;
     _employeesService    = employeesService;
 }
예제 #35
0
 public HistoricalsService(
     IHistoricalsRepository historicalsRepository,
     IEmployeesService employeesService,
     IOneononesService oneononesService)
 {
     this.historicalsRepository = historicalsRepository;
     this.employeesService      = employeesService;
     this.oneononesService      = oneononesService;
 }
예제 #36
0
 public HomeController(
     IEmployeesLogService employeesLogService,
     IEventLogService eventLogService, 
     IEmployeesService employeesService)
 {
     
     _employeesLogService = employeesLogService;
     _eventLogService = eventLogService;
     _employeesService = employeesService;
 }
예제 #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;
 }
예제 #38
0
 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;
 }
예제 #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;
 }
예제 #41
0
 public CustomerController(ICustomerService customerService, IEmployeesService employeesService, IMapperFactory mapperFactory)
 {
     _customerService = customerService;
     _employeesService = employeesService;
     _mapperFactory = mapperFactory;
 }
예제 #42
0
 public OrderCheckUnitPriceController(IEnquiryService enquiryService,
      IEmployeesService employeesService)
 {
     _enquiryService = enquiryService;
     _employeesService = employeesService;
 }
 public EmployeeController(IEmployeesService employeeService)
 {
     _employeeService = employeeService;
 }
예제 #44
0
 public ApplyExpenseController(IApplyExpenseService applyExpenseService, IEmployeesService employeesService, IMapperFactory mapperFactory)
 {
     _applyExpenseService = applyExpenseService;
     _employeesService = employeesService;
     _mapperFactory = mapperFactory;
 }
예제 #45
0
 public ReportLogsController(IEmployeesService employeesService, 
     IUserDepartmentsService userDepartmentsService)
 {
     _employeesService = employeesService;
     _userDepartmentsService = userDepartmentsService;
 }
예제 #46
0
        public MyEnquiryByCustomerController(IEnquiryService enquiryService,
            IMapperFactory mapperFactory,
            IEmployeesService employeesService,
            IPositionService positionService)
        {
            _enquiryService = enquiryService;
            _mapperFactory = mapperFactory;
            _employeesService = employeesService;
            _positionService = positionService;

        }