/// <summary>
 /// Inicialização com o contexto necessário e as interfaces já implementadas
 /// </summary>
 /// <param name="context"></param>
 /// <param name="productionAreaChangedService"></param>
 /// <param name="orderFinishedService"></param>
 public ProductionAreaRepository(ProductionContext context
                                 , IProductionAreaChangedService productionAreaChangedService
                                 , IOrderFinishedService orderFinishedService
                                 )
 {
     _context = context;
     _productionAreaChangedService = productionAreaChangedService;
     _orderFinishedService         = orderFinishedService;
 }
 public ProductionAreaRepository(ProductionsContext context, IProductionAreaChangedService productionAreaChangedService)
 {
     _context = context;
     _productionAreaChangedService = productionAreaChangedService;
 }
예제 #3
0
 public ProductionController(IMapper mapper, IProductionAreaChangedService productionAreaChangedService)
 {
     _mapper = mapper;
     _productionAreaChangedService = productionAreaChangedService;
 }
예제 #4
0
 public ProductionService(IProductionRepository productionRepository,
                          IProductionAreaChangedService productionAreaChangedService)
 {
     _productionRepository         = productionRepository;
     _productionAreaChangedService = productionAreaChangedService;
 }