public EstabelecimentoService(IEstabelecimentoRepository estabelecimentoRepository, IEnderecoJuridicoRepository enderecoJuridicoRepository, IFuncionarioRepository funcionarioRepository) { _estabelecimentoRepository = estabelecimentoRepository; _enderecoJuridicoRepository = enderecoJuridicoRepository; _funcionarioRepository = funcionarioRepository; }
public FamiliaController(IFamiliaRepository repository, IConfiguration configuration, IEstabelecimentoRepository estabelecimentorepository, ICidadaoRepository cidadaorepository) { _repository = repository; _config = configuration; _estabelecimentorepository = estabelecimentorepository; _cidadaorepository = cidadaorepository; }
public ControleVeiculoService(IVeiculoRepository veiculoRepository, IEstabelecimentoRepository estabelecimentoRepository, Notificador notificador, IControleVeiculoRepository controleVeiculoRepository) { _veiculoRepository = veiculoRepository; _estabelecimentoRepository = estabelecimentoRepository; _notificador = notificador; _controleVeiculoRepository = controleVeiculoRepository; }
public RegistroVeiculoRepository(ApplicationContext contexto, IEstabelecimentoRepository estabelecimentoRepository, IVeiculoRepository veiculoRepository) : base(contexto) { this.estabelecimentoRepository = estabelecimentoRepository; this.veiculoRepository = veiculoRepository; }
public DataService(ApplicationContext contexto, IVeiculoRepository veiculoRepository, IEstabelecimentoRepository estabelecimentoRepository ) { this.contexto = contexto; this.veiculoRepository = veiculoRepository; this.estabelecimentoRepository = estabelecimentoRepository; }
public UsuarioHandler(IUsuarioRepository usuario_repository, IEstabelecimentoRepository estabelecimento_repository, IClaimsRepository claims_repository, IUsuarioClaimsRepository usuario_claims_repository, IMapper mapper) { _usuario_repository = usuario_repository; _estabelecimento_repository = estabelecimento_repository; _claims_repository = claims_repository; _usuario_claims_repository = usuario_claims_repository; _mapper = mapper; }
public CriarSistemaCommand(string idFirebase, string nome, string descricao, List <ItensSistema> itensSistema, IEstabelecimentoRepository estabelecimento_repository) { IdFirebase = idFirebase; Nome = nome; Descricao = descricao; ItensSistema = itensSistema; _estabelecimento_repository = estabelecimento_repository; }
public SistemaHandler(ISistemaRepository sistema_repository, IEstabelecimentoRepository estabelecimento_repository, ISistemaItemRepository sistema_item_repository, IUnidadeMedidaRepository unidade_medida_repository, IUsuarioRepository usuario_repository, IMapper mapper) { _sistema_repository = sistema_repository; _estabelecimento_repository = estabelecimento_repository; _sistema_item_repository = sistema_item_repository; _unidade_medida_repository = unidade_medida_repository; _usuario_repository = usuario_repository; _mapper = mapper; }
public EstabelecimentoAptoParaCadastroValidation(IEstabelecimentoRepository estabelecimentoRepository) { var cnpjDuplicado = new EstabelecimentoDevePossuirCNPJUnicoSpecification(estabelecimentoRepository); base.Add("cnpjDuplicado", new Rule <Estabelecimento>(cnpjDuplicado, ErrorMessage.CNPJJaExiste)); }
public EstabelecimentoService(IEstabelecimentoRepository estabelecimentoRepository, IUnitOfWork unitOfWork) { this.estabelecimentoRepository = estabelecimentoRepository; this.unitOfWork = unitOfWork; }
public EstabelecimentoService(IEstabelecimentoRepository estabelecimentoRepository, IMapper mapper) { _estabelecimentoRepository = estabelecimentoRepository; _mapper = mapper; }
//private FinanceiroContext context; public EstabelecimentosController() { context = new ControleFinanceiro1Entities(); this.estabelecimentoRepository = new EstabelecimentoRepository(context); }
public EstabelecimentoApplicationService(IEstabelecimentoRepository repository) { _repository = repository; }
public EstabelecimentoController(IEstabelecimentoRepository contextDAO) { _contextDAO = contextDAO; }
public EstabelecimentoService(IEstabelecimentoRepository estabelecimentoRepository, CategoriaService categoriaService) { _estabelecimentoRepository = estabelecimentoRepository; _categoriaService = categoriaService; }
public EstabelecimentoDevePossuirCNPJUnicoSpecification(IEstabelecimentoRepository estabelecimentoRepository) { _estabelecimentoRepository = estabelecimentoRepository; }
public EstabelecimentosController() { EstabelecimentoRepository = new EstabelecimentoRepository(); }
public GenericCommandResult Iniciar([FromBody] CriarSistemaCommand command, [FromServices] SistemaHandler handler, [FromServices] IEstabelecimentoRepository estabelecimentoRepository) { return((GenericCommandResult)handler.Handle(new CriarSistemaCommand( HttpContext.User.Identities.FirstOrDefault().Claims.FirstOrDefault(c => c.Type.Contains("user_id")).Value, command.Nome, command.Descricao, command.ItensSistema, estabelecimentoRepository ))); }
public EstabelecimentoController(IEstabelecimentoRepository repository, IConfiguration configuration) { _repository = repository; _config = configuration; }
public EstabelecimentoService(IEstabelecimentoRepository estabelecimentoRepository, Notificador notificador) { _estabelecimentoRepository = estabelecimentoRepository; _notificador = notificador; }
public EstabelecimentoController(IEstabelecimentoRepository estabelecimentoRepository) { _estabelecimentoRepository = estabelecimentoRepository; }
public EstabelecimentoStore(IEstabelecimentoRepository repository, ILogger <EstabelecimentoStore> logger, IRestauranteContext context, IUnitOfWork uow) : base(repository, logger, context, uow) { }
public CheckService(ICheckRepository checkRepository, IAlienRepository alienRepository, IEstabelecimentoRepository estabelecimentoRepository) { _checkRepository = checkRepository; _alienRepository = alienRepository; _estabelecimentoRepository = estabelecimentoRepository; }
public EstabelecimentoServico(IEstabelecimentoRepository estabelecimentoRepository) { this.estabelecimentoRepository = estabelecimentoRepository; }
public EstabelecimentoController(IEstabelecimentoRepository estabelecimento_repository, IMapper mapper) { _estabelecimento_repository = estabelecimento_repository; _mapper = mapper; }
public EstabelecimentoService(IEstabelecimentoRepository estabelecimentoRepository, IEnderecoService enderecoService) { _estabelecimentoRepository = estabelecimentoRepository; _estabelecimentoService = enderecoService; }
public EstabelecimentoService(IEstabelecimentoRepository estabelecimentoRepository) : base(estabelecimentoRepository) { _estabelecimentoRepository = estabelecimentoRepository; }
public EstabelecimentoServices(IEstabelecimentoRepository estabelecimentoRepository) { _estabelecimentoRepository = estabelecimentoRepository; }