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; }
public IngredientController(IIngredienteService ingredienteService) { _ingredienteService = ingredienteService; }
public LanchesController(ILancheService serviceLanche, IIngredienteService serviceIngrediente) { _serviceLanche = serviceLanche; _serviceIngrediente = serviceIngrediente; }
public IngredienteController(IIngredienteService service) { _service = service; }
public AppServiceBase(IIngredienteService ingredienteService) { this.ingredienteService = ingredienteService; }
public IngredienteController(IIngredienteService ingredienteService) { this._ingredienteService = ingredienteService; }
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; }