public ReceitasController(IReceitaAppService appService, IHostingEnvironment env, ICategoriaAppService categoriaAppService, ImageStore imageStore)
 {
     _appService          = appService;
     _env                 = env;
     _categoriaAppService = categoriaAppService;
     _imageStore          = imageStore;
 }
Esempio n. 2
0
 public CategoriaController(
     ICategoriaAppService categoriaAppService,
     INotificationHandler <DomainNotification> notifications,
     IMediatorHandler mediator) : base(notifications, mediator)
 {
     _categoriaAppService = categoriaAppService;
 }
 public PlanoCategoriaController(IControleAcessoAppService controleacessoAppService, IPlanoCategoriaAppService planocategoriaAppService, IPlanoAppService planoAppService, ICategoriaAppService categoriaAppService)
 {
     _controleacessoAppService = controleacessoAppService;
     _planocategoriaAppService = planocategoriaAppService;
     _planoAppService = planoAppService;
     _categoriaAppService = categoriaAppService;
 }
Esempio n. 4
0
 public LivrosController(ILivroAppService livroApp, IAutorAppService autorApp, ICategoriaAppService categoriaApp, IEditoraAppService editoraApp)
 {
     _livroApp     = livroApp;
     _autorApp     = autorApp;
     _categoriaApp = categoriaApp;
     _editoraApp   = editoraApp;
 }
Esempio n. 5
0
 public ProductoController(IProductoAppService productoAppService, IMarcaAppService marcaAppService,
     ICategoriaAppService categoriaAppService, ITerceroAppService terceroAppService)
 {
     _productoAppService = productoAppService;
     _marcaAppService = marcaAppService;
     _categoriaAppService = categoriaAppService;
     _terceroAppService = terceroAppService;
 }
Esempio n. 6
0
 public ProductoController(IProductoAppService productoAppService, IMarcaAppService marcaAppService,
                           ICategoriaAppService categoriaAppService, ITerceroAppService terceroAppService)
 {
     _productoAppService  = productoAppService;
     _marcaAppService     = marcaAppService;
     _categoriaAppService = categoriaAppService;
     _terceroAppService   = terceroAppService;
 }
Esempio n. 7
0
 public Productos(ProductoAppService productoAppservice, CategoriaAppService categoriaAppservice, MarcaAppService marcaAppservice,
                  TerceroAppService terceroAppservice)
 {
     InitializeComponent();
     _productoAppservice  = productoAppservice;
     _categoriaAppservice = categoriaAppservice;
     _marcaAppservice     = marcaAppservice;
     _terceroAppservice   = terceroAppservice;
 }
Esempio n. 8
0
 public Productos(ProductoAppService productoAppservice, CategoriaAppService categoriaAppservice, MarcaAppService marcaAppservice,
     TerceroAppService terceroAppservice)
 {
     InitializeComponent();
     _productoAppservice = productoAppservice;
     _categoriaAppservice = categoriaAppservice;
     _marcaAppservice = marcaAppservice;
     _terceroAppservice = terceroAppservice;
 }
        public ProdutosController(IProdutoAppService produtoAppService, ICategoriaAppService categoriaAppService)
        {
            _produtoAppService   = produtoAppService;
            _categoriaAppService = categoriaAppService;

            IEnumerable <CategoriaViewModel> categorias = _categoriaAppService.ObterTodos().ToList();

            ViewBag.Categorias = new SelectList(categorias, "Id", "Nome");
        }
Esempio n. 10
0
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member

        #endregion

        #region Construtores

        /// <summary>
        /// Cria uma nova instância da API
        /// </summary>
        public CategoriaController
        (
            ICategoriaAppService appService,
            IHostingEnvironment hostingEnvironment
        )
        {
            _appService         = appService;
            _hostingEnvironment = hostingEnvironment;
        }
Esempio n. 11
0
 public ProdutoAppService(IUnitOfWork unitOfWork, IMapper mapper, IProdutoService produtoService, IMarcaAppService marcaAppService, IMaterialAppService materialAppService, IAlertaAppService alertaAppService, ILocalidadeAppService localidadeAppService, ICategoriaAppService categoriaAppService) : base(unitOfWork)
 {
     _mapper               = mapper;
     _produtoService       = produtoService;
     _marcaAppService      = marcaAppService;
     _materialAppService   = materialAppService;
     _alertaAppService     = alertaAppService;
     _localidadeAppService = localidadeAppService;
     _categoriaAppService  = categoriaAppService;
 }
Esempio n. 12
0
 public ServicoController(IServicoAppService iServicoApp, ICategoriaAppService iCategoriaApp,
                          IPrestadorAppService iPrestadorApp, IServicoPrestadorAppService iServicoPrestadorApp, ILogAppService logAppService, IServicoPrestadorAppService servicoPrestadorAppService)
 {
     _iServicoApp                = iServicoApp;
     _iCategoriaApp              = iCategoriaApp;
     _iPrestadorApp              = iPrestadorApp;
     _iServicoPrestadorApp       = iServicoPrestadorApp;
     _logAppService              = logAppService;
     _servicoPrestadorAppService = servicoPrestadorAppService;
     _utils = new Utils();
 }
Esempio n. 13
0
 public ServicoController(IServicoAppService iServicoApp, ICategoriaAppService iCategoriaApp,
     IPrestadorAppService iPrestadorApp, IServicoPrestadorAppService iServicoPrestadorApp, ILogAppService logAppService, IServicoPrestadorAppService servicoPrestadorAppService)
 {
     _iServicoApp = iServicoApp;
     _iCategoriaApp = iCategoriaApp;
     _iPrestadorApp = iPrestadorApp;
     _iServicoPrestadorApp = iServicoPrestadorApp;
     _logAppService = logAppService;
     _servicoPrestadorAppService = servicoPrestadorAppService;
     _utils = new Utils();
 }
Esempio n. 14
0
 public ProdutoController(
     IProdutoAppService produtoApp,
     IProdutoImagemAppService produtoImagemApp,
     IProdutoPrecoAppService produtoPrecoApp,
     ICategoriaAppService categoriaApp)
 {
     _produtoApp       = produtoApp;
     _produtoImagemApp = produtoImagemApp;
     _categoriaApp     = categoriaApp;
     _produtoPrecoApp  = produtoPrecoApp;
 }
Esempio n. 15
0
        public OrcamentoController(IOrcamentoAppService orcamentoApp, ICategoriaAppService categoriaApp,
                                   IServicoAppService servicoApp, IPrestadorAppService prestadorApp, ICidadeAppService cidadeApp,
                                   ILogAppService logAppService)
        {
            _orcamentoApp  = orcamentoApp;
            _categoriaApp  = categoriaApp;
            _servicoApp    = servicoApp;
            _prestadorApp  = prestadorApp;
            _cidadeApp     = cidadeApp;
            _logAppService = logAppService;

            _utils = new Utils();
        }
Esempio n. 16
0
        public OrcamentoController(IOrcamentoAppService orcamentoApp, ICategoriaAppService categoriaApp,
        IServicoAppService servicoApp, IPrestadorAppService prestadorApp, ICidadeAppService cidadeApp,
        ILogAppService logAppService)
        {
            _orcamentoApp = orcamentoApp;
              _categoriaApp = categoriaApp;
              _servicoApp = servicoApp;
              _prestadorApp = prestadorApp;
              _cidadeApp = cidadeApp;
              _logAppService = logAppService;

              _utils = new Utils();
        }
Esempio n. 17
0
 public PrestadorController(IPrestadorAppService prestadorApp, IOrcamentoAppService orcamentoApp,
                            IUsuarioAppService usuarioApp, IServicoPrestadorAppService servicoPrestadorApp, ILogAppService logApp, IServicoAppService servicoApp,
                            ICategoriaAppService categoriaApp, ApplicationUserManager userManager, ApplicationSignInManager signInManager)
 {
     _prestadorApp        = prestadorApp;
     _orcamentoApp        = orcamentoApp;
     _userManager         = userManager;
     _signInManager       = signInManager;
     _usuarioApp          = usuarioApp;
     _servicoPrestadorApp = servicoPrestadorApp;
     _logAppService       = logApp;
     _servicoAppService   = servicoApp;
     _categoriaApp        = categoriaApp;
     _utils = new Utils();
 }
Esempio n. 18
0
 public PrestadorController(IPrestadorAppService prestadorApp, IOrcamentoAppService orcamentoApp,
     IUsuarioAppService usuarioApp, IServicoPrestadorAppService servicoPrestadorApp, ILogAppService logApp, IServicoAppService servicoApp,
     ICategoriaAppService categoriaApp, ApplicationUserManager userManager, ApplicationSignInManager signInManager)
 {
     _prestadorApp = prestadorApp;
     _orcamentoApp = orcamentoApp;
     _userManager = userManager;
     _signInManager = signInManager;
     _usuarioApp = usuarioApp;
     _servicoPrestadorApp = servicoPrestadorApp;
     _logAppService = logApp;
     _servicoAppService = servicoApp;
     _categoriaApp = categoriaApp;
     _utils = new Utils();
 }
Esempio n. 19
0
#pragma warning restore CS1591 // Missing XML comment for publicly visible type or member

        #endregion

        #region Construtores

        /// <summary>
        /// Cria uma nova instância da API
        /// </summary>
        public ItemController
        (
            IItemAppService appService,
            IValorFaixaAppService faixaService,
            ICategoriaAppService categoriaAppService,
            IHostingEnvironment hostingEnvironment,
            IAppUser appUser
        )
        {
            _appService          = appService;
            _faixaService        = faixaService;
            _categoriaAppService = categoriaAppService;
            _hostingEnvironment  = hostingEnvironment;
            _appUser             = appUser;
            _caminho             = Directory.GetDirectories(_hostingEnvironment.WebRootPath).Where(x => x.EndsWith("images")).SingleOrDefault();
        }
Esempio n. 20
0
        public ProdutosController(IProdutoAppService produtosAppService,
                                  ICategoriaAppService categoriaAppService,
                                  ISubcategoriaAppService subcategoriaAppService,
                                  IFamiliasprodAppService familiasprodAppService,
                                  IProdutoValidation produtosValidation,
                                  ICategoriaValidation categoriaValidation,
                                  ISubcategoriaValidation subcategoriaValidation,
                                  IFamiliasprodValidation familiasprodValidation
                                  ) : base(produtosAppService)
        {
            _produtosAppService     = produtosAppService;
            _categoriaAppService    = categoriaAppService;
            _subcategoriaAppService = subcategoriaAppService;
            _familiasprodAppService = familiasprodAppService;

            _produtosValidation     = produtosValidation;
            _categoriaValidation    = categoriaValidation;
            _subcategoriaValidation = subcategoriaValidation;
            _familiasprodValidation = familiasprodValidation;

            this.EventTreatToDatabase += new RegisterTreatEventHandler <ProdutoViewModel>(TreatToDatabase);
            this.EventTreatToView     += new RegisterTreatEventHandler <ProdutoViewModel>(TreatToView);
        }
 public DespesaController(IDespesaAppService despesaApp, ICategoriaAppService categoriaApp)
 {
     _despesaApp = despesaApp;
     _categoriaApp = categoriaApp;
 }
Esempio n. 22
0
 public HomeController(IEnderecoAppService enderecoApp, ICategoriaAppService categoriaApp, IClienteAppService clienteApp)
 {
     _enderecoApp  = enderecoApp;
     _categoriaApp = categoriaApp;
     _clienteApp   = clienteApp;
 }
Esempio n. 23
0
 public ReceitaController(IReceitaAppService receitaApp, ICategoriaAppService categoriaApp)
 {
     _receitaApp   = receitaApp;
     _categoriaApp = categoriaApp;
 }
 public ReceitaController(IReceitaAppService receitaApp, ICategoriaAppService categoriaApp)
 {
     _receitaApp = receitaApp;
     _categoriaApp = categoriaApp;
 }
 public AdminProdutosController(IProdutoAppService produtoAppService,
                                ICategoriaAppService categoriaAppService)
 {
     _produtoAppService   = produtoAppService;
     _categoriaAppService = categoriaAppService;
 }
Esempio n. 26
0
 public LivrosController(ILivroAppService LivroApp, ICategoriaAppService CategoriaApp)
 {
     _LivroApp     = LivroApp;
     _CategoriaApp = CategoriaApp;
 }
 public CategoriasController(ICategoriaAppService CategoriaApp)
 {
     _CategoriaApp = CategoriaApp;
 }
Esempio n. 28
0
 public CategoriaController(ICategoriaAppService categoriaApp, IServicoAppService servicoApp)
 {
     _categoriaApp = categoriaApp;
     _servicoApp = servicoApp;
 }
 public AccountController(IAutenticacaoAppService autenticacaoAppService, ICategoriaAppService categoriaAppService)
 {
     this._autenticacaoAppService = autenticacaoAppService;
     this._categoriaAppService    = categoriaAppService;
 }
Esempio n. 30
0
 public CategoriasController(ICategoriaAppService appService, IHostingEnvironment env)
 {
     _appService = appService;
     _env        = env;
 }
Esempio n. 31
0
 public DespesaController(IDespesaAppService despesaApp, ICategoriaAppService categoriaApp)
 {
     _despesaApp   = despesaApp;
     _categoriaApp = categoriaApp;
 }
Esempio n. 32
0
 public CategoriaController(ICategoriaAppService categoriaApp)
 {
     _categoriaApp = categoriaApp;
 }
Esempio n. 33
0
 public CategoriaController(ICategoriaAppService categoriaAppService)
 {
     _categoriaAppService = categoriaAppService;
 }
Esempio n. 34
0
 public CategoriaController(ICategoriaAppService categoriaAppService)
 {
     _categoriaAppService = categoriaAppService;
 }
Esempio n. 35
0
 public ProdutoController(IProdutoAppService produtoApp, IClienteAppService clienteApp, ICategoriaAppService categoriaApp)
 {
     _produtoApp   = produtoApp;
     _clienteApp   = clienteApp;
     _categoriaApp = categoriaApp;
 }
 public CategoriaController(ICategoriaAppService categoriaAppService)
     : base()
 {
     this._categoriaAppService = categoriaAppService;
 }
Esempio n. 37
0
 public ProdutoController(IProdutoAppService produtoAppService, ICategoriaAppService categoriaAppService, IUnidadeMedidaAppService unidadeAppService)
 {
     _produtoAppService   = produtoAppService;
     _categoriaAppService = categoriaAppService;
     _unidadeAppService   = unidadeAppService;
 }
Esempio n. 38
0
 public CategoriaController(ICategoriaAppService categoriaAppService,
                            INotificationHandler <DomainNotification> notifications) : base(notifications)
 {
     _categoriaAppService = categoriaAppService;
 }
Esempio n. 39
0
 public ClientesController(IStatusAppService statusApp, ICategoriaAppService categoriaApp, IClienteAppService clienteApp)
 {
     _statusApp    = statusApp;
     _categoriaApp = categoriaApp;
     _clienteApp   = clienteApp;
 }
Esempio n. 40
0
 /// <summary>
 /// Constructor of Categorias Controller
 /// </summary>
 /// <param name="categoriaAppService"></param>
 /// <param name="categoriaValidation"></param>
 public CategoriasController(ICategoriaAppService categoriaAppService,
                             ICategoriaValidation categoriaValidation)
     : base(categoriaAppService)
 {
     _categoriaValidation = categoriaValidation;
 }
 //---------------------------------------------------------------------------------------------
 //<REVER>
 //---------------------------------------------------------------------------------------------
 public CategoriaController(ICategoriaAppService categoriaAppService, IControleAcessoAppService controleacessoAppService)
 {
     _categoriaAppService = categoriaAppService;
     _controleacessoAppService = controleacessoAppService;
 }