public EmployeeController(IBranchBusinessService branchService, IEmployeeBusinessService employeeService) { _serviceBuilder = new ServiceBuilder(); _serviceBuilder.BuildBranchService(branchService); _serviceBuilder.BuildEmployeeService(employeeService); _serviceParameter = _serviceBuilder.Parameter; }
public EmployeeService(IEmployeeBusinessService employeeBusinessService) { if (employeeBusinessService == null) { throw new ArgumentNullException("employeeBusinessService"); } _employeeBusinessService = employeeBusinessService; }
public AuthController( IOptions <JwtIssuerOptions> jwtOptions, JwtCurrentUserFactory jwtCurrentUserFactory, JwtFactory jwtFactory, IEmployeeRepository employeeRepository, IEmployeeBusinessService employeeBusinessService, IResidentRepository residentRepository, IResidentBusinessService residentBusinessService) { _jwtOptions = jwtOptions.Value; _jwtFactory = jwtFactory; _employeeRepository = employeeRepository; _employeeBusinessService = employeeBusinessService; _residentRepository = residentRepository; _residentBusinessService = residentBusinessService; }
public HomeController(IEmployeeBusinessService employeeBusinessService) { _employeeBusinessService = employeeBusinessService; }
public void BuildEmployeeService(IEmployeeBusinessService employeeService) { _parameter.EmployeeService = employeeService; }