Example #1
0
        public DescontosLanches()
        {
            _lancheService      = new LancheService(new LancheRepositoryTest(), new LancheIngredienteRepositoryTest());
            _serviceIngrediente = new IngredienteService(new IngredienteRepositoryTest());

            if (!BancoFake.Ingredientes.Any())
            {
                BancoFake.CarregarBase();
            }
        }
Example #2
0
 public CarrinhoModel(ILancheService lancheService, IPromocaoService promocaoService, IPedidoService pedidoService)
 {
     _lancheService   = lancheService;
     _promocaoService = promocaoService;
     _pedidoService   = pedidoService;
 }
Example #3
0
 public PersonalizarModel(ILancheService lancheService)
 {
     _lancheService = lancheService;
 }
Example #4
0
 public LanchesController(ILancheService serviceLanche,
                          IIngredienteService serviceIngrediente)
 {
     _serviceLanche      = serviceLanche;
     _serviceIngrediente = serviceIngrediente;
 }
Example #5
0
 public AppServiceBase(ILancheService lancheService)
 {
     this.lancheService = lancheService;
 }
 public LancheAppService(ILancheService service) : base(service)
 {
     _service = service;
 }
Example #7
0
 public LancheAppService(ILancheService lancheService) : base(lancheService)
 {
     _lancheService = lancheService;
 }
Example #8
0
 public IndexModel(ILancheService lancheService)
 {
     _lancheService = lancheService;
 }
Example #9
0
 public LancheController(ILancheService lancheService)
 {
     this.lancheService = lancheService;
 }