public EmployeeController(IEmployeeService iEmployeeService, IEmployeeRoleService iEmployeeRoleService, IEmployeeDepartmentService iEmployeeDepartmentService, IMerchantService iMerchantService) { this.iEmployeeService = iEmployeeService; this.iEmployeeRoleService = iEmployeeRoleService; this.iEmployeeDepartmentService = iEmployeeDepartmentService; this.iMerchantService = iMerchantService; }
//private IDeptViewService _deptViewService; //private IJobViewService _jobViewService; //private IOtherCodeViewService _otherCodeViewService; /// <summary> /// 建構子 /// </summary> /// <param name="employeeService">員工基本服務</param> /// <param name="employeeListService">員工清單服務</param> /// <param name="employeeViewService">員工檢視表服務</param> ///// <param name="deptViewService">部門檢視表服務</param> ///// <param name="jobViewService">職稱檢視表服務</param> public EmployeeController(IEmployeeInfoService employeeService , IEmployeeListService employeeListService , IEmployeeViewService employeeViewService, IEmployeeRoleService employeeRoleService, ILogger logger //, IDeptViewService deptViewService //, IJobViewService jobViewService //,IOtherCodeViewService otherCodeViewService ) { _employeeService = employeeService; _employeeListService = employeeListService; _employeeViewService = employeeViewService; _employeeRoleService = employeeRoleService; _logger = logger; //_deptViewService = deptViewService; //_jobViewService = jobViewService; //_otherCodeViewService = otherCodeViewService; }
//Constructor public EmployeeRoleController(IEmployeeRoleService employeeRoleService, IMapper mapper) { _employeeRoleService = employeeRoleService; _mapper = mapper; }