public GasAutomobileController()
 {
     _repository = new GasAutomobileRepository();
 }
 public GasAutomobileController(IGasAutomobileRepository repository)
 {
     _repository = repository;
 }
Exemplo n.º 3
0
 public MaintenanceTypeService(IDieselAutomobileRepository dieselRepo, IElectricAutomobileRepository electricRepo, IGasAutomobileRepository gasRepo)
 {
     _dieselRepo   = dieselRepo;
     _electricRepo = electricRepo;
     _gasRepo      = gasRepo;
 }