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