public SubmitOrder(ISubmitOrderRepository orderRepository, IEmployeeReadOnlyRepository employeeRepository, IClientReadOnlyRepository clientRepository, IComputerStockRepository computerStock, IComponentStock componentStock) { this.orderRepository = orderRepository; this.employeeRepository = employeeRepository; this.clientRepository = clientRepository; this.computerStock = computerStock; this.componentStock = componentStock; }
public DeleteEmployee(IDeleteByName delete, IEmployeeReadOnlyRepository read) { this.delete = delete; this.read = read; }
public EmployeeService(IEmployeeRepository employeeRepository, IEmployeeReadOnlyRepository employeeReadOnlyRepository) : base(employeeRepository) { _employeeRepository = employeeRepository; _employeeReadOnlyRepository = employeeReadOnlyRepository; }
public QueriesService(IEmployeeReadOnlyRepository employeeReadOnlyRepository) { _employeeReadOnlyRepository = employeeReadOnlyRepository ?? throw new ArgumentNullException(nameof(employeeReadOnlyRepository)); }
public EmployeeController(Startup.DeleteByNameResolver deleteAccesor, IEmployeeReadOnlyRepository read, ICreate <Employee> create) { delete = new DeleteEmployee(deleteAccesor(DeletesEmail.Employee), read); this.create = new CreateEmployee(create, read); this.read = new ReadEmployee(read); }
public OrderReadOnlyRepository(IConnection connection, IComputerReadOnlyRepository computerRepository, IEmployeeReadOnlyRepository employeeRepository, IClientReadOnlyRepository clientRepository) : base(connection) { ComputerRepository = computerRepository; EmployeeRepository = employeeRepository; ClientRepository = clientRepository; }
public CreateEmployee(ICreate <Employee> create, IEmployeeReadOnlyRepository read) { this.create = create; this.read = read; }
public ReadEmployee(IEmployeeReadOnlyRepository read) { this.read = read; }
public EmployeeService(IEmployeeReadOnlyRepository EmployeeReadOnlyRepository, IEmployeeWriteOnlyRepository EmployeeWriteOnlyRepository) { this.EmployeeReadOnlyRepository = EmployeeReadOnlyRepository; this.EmployeeWriteOnlyRepository = EmployeeWriteOnlyRepository; }