public DescontosLanches() { _lancheService = new LancheService(new LancheRepositoryTest(), new LancheIngredienteRepositoryTest()); _serviceIngrediente = new IngredienteService(new IngredienteRepositoryTest()); if (!BancoFake.Ingredientes.Any()) { BancoFake.CarregarBase(); } }
public CarrinhoModel(ILancheService lancheService, IPromocaoService promocaoService, IPedidoService pedidoService) { _lancheService = lancheService; _promocaoService = promocaoService; _pedidoService = pedidoService; }
public PersonalizarModel(ILancheService lancheService) { _lancheService = lancheService; }
public LanchesController(ILancheService serviceLanche, IIngredienteService serviceIngrediente) { _serviceLanche = serviceLanche; _serviceIngrediente = serviceIngrediente; }
public AppServiceBase(ILancheService lancheService) { this.lancheService = lancheService; }
public LancheAppService(ILancheService service) : base(service) { _service = service; }
public LancheAppService(ILancheService lancheService) : base(lancheService) { _lancheService = lancheService; }
public IndexModel(ILancheService lancheService) { _lancheService = lancheService; }
public LancheController(ILancheService lancheService) { this.lancheService = lancheService; }