/// <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; }
public ProductionController(IMapper mapper, IProductionAreaChangedService productionAreaChangedService) { _mapper = mapper; _productionAreaChangedService = productionAreaChangedService; }
public ProductionService(IProductionRepository productionRepository, IProductionAreaChangedService productionAreaChangedService) { _productionRepository = productionRepository; _productionAreaChangedService = productionAreaChangedService; }