Пример #1
0
        public DescontosLanches()
        {
            _lancheService      = new LancheService(new LancheRepositoryTest(), new LancheIngredienteRepositoryTest());
            _serviceIngrediente = new IngredienteService(new IngredienteRepositoryTest());

            if (!BancoFake.Ingredientes.Any())
            {
                BancoFake.CarregarBase();
            }
        }
 public ReceitaController(
     INotificationHandler <Notification> notifications,
     IReceitaService receitaService,
     ICategoriaService categoriaService,
     IIngredienteService ingredienteService) : base(notifications)
 {
     _receitaService     = receitaService;
     _categoriaService   = categoriaService;
     _ingredienteService = ingredienteService;
 }
Пример #3
0
 public IngredientController(IIngredienteService ingredienteService)
 {
     _ingredienteService = ingredienteService;
 }
Пример #4
0
 public LanchesController(ILancheService serviceLanche,
                          IIngredienteService serviceIngrediente)
 {
     _serviceLanche      = serviceLanche;
     _serviceIngrediente = serviceIngrediente;
 }
Пример #5
0
 public IngredienteController(IIngredienteService service)
 {
     _service = service;
 }
Пример #6
0
 public AppServiceBase(IIngredienteService ingredienteService)
 {
     this.ingredienteService = ingredienteService;
 }
Пример #7
0
 public IngredienteController(IIngredienteService ingredienteService)
 {
     this._ingredienteService = ingredienteService;
 }
Пример #8
0
 public IngredienteAppService(IIngredienteService ingredienteService) : base(ingredienteService)
 {
     _ingredienteService = ingredienteService;
 }
 public IngredienteController(
     INotificationHandler <Notification> notifications,
     IIngredienteService ingredienteService) : base(notifications)
 {
     _ingredienteService = ingredienteService;
 }
 public IngredienteAppService(IIngredienteService service) : base(service)
 {
     _service = service;
 }