예제 #1
0
 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;
 }
예제 #2
0
 public DeleteEmployee(IDeleteByName delete, IEmployeeReadOnlyRepository read)
 {
     this.delete = delete;
     this.read   = read;
 }
예제 #3
0
 public EmployeeService(IEmployeeRepository employeeRepository, IEmployeeReadOnlyRepository employeeReadOnlyRepository) : base(employeeRepository)
 {
     _employeeRepository         = employeeRepository;
     _employeeReadOnlyRepository = employeeReadOnlyRepository;
 }
예제 #4
0
 public QueriesService(IEmployeeReadOnlyRepository employeeReadOnlyRepository)
 {
     _employeeReadOnlyRepository = employeeReadOnlyRepository ?? throw new ArgumentNullException(nameof(employeeReadOnlyRepository));
 }
예제 #5
0
 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);
 }
예제 #6
0
 public OrderReadOnlyRepository(IConnection connection, IComputerReadOnlyRepository computerRepository, IEmployeeReadOnlyRepository employeeRepository, IClientReadOnlyRepository clientRepository) : base(connection)
 {
     ComputerRepository = computerRepository;
     EmployeeRepository = employeeRepository;
     ClientRepository   = clientRepository;
 }
예제 #7
0
 public CreateEmployee(ICreate <Employee> create, IEmployeeReadOnlyRepository read)
 {
     this.create = create;
     this.read   = read;
 }
예제 #8
0
 public ReadEmployee(IEmployeeReadOnlyRepository read)
 {
     this.read = read;
 }
예제 #9
0
 public EmployeeService(IEmployeeReadOnlyRepository EmployeeReadOnlyRepository, IEmployeeWriteOnlyRepository EmployeeWriteOnlyRepository)
 {
     this.EmployeeReadOnlyRepository  = EmployeeReadOnlyRepository;
     this.EmployeeWriteOnlyRepository = EmployeeWriteOnlyRepository;
 }