Esempio n. 1
0
 public TarefaController(
     ITarefaAppService tarefaAppService,
     INotificationHandler <DomainNotification> notifications,
     IMediatorHandler mediator) : base(notifications, mediator)
 {
     _tarefaAppService = tarefaAppService;
 }
Esempio n. 2
0
 public HomeController(IUsuarioAppService baseApps, ILogAppService logApps, INotificacaoAppService notApps, ITarefaAppService tarApps)
 {
     baseApp = baseApps;
     logApp  = logApps;
     notiApp = notApps;
     tarApp  = tarApps;
 }
Esempio n. 3
0
 public FluxoTrabalhoModel(IWorkflowAppService workflowAppService,
                           ITarefaAppService tarefaAppService,
                           IHubContext <FluxoTrabalhoHub> hubContext)
 {
     _workflowAppService = workflowAppService;
     _tarefaAppService   = tarefaAppService;
     _hubContext         = hubContext;
 }
Esempio n. 4
0
 public IncluirModel(IImpedimentoTarefaAppService impedimentoTarefaAppService,
                     IAppService <ImpedimentoViewModel> impedimentoAppService,
                     ITarefaAppService tarefaAppService)
 {
     _impedimentoTarefaAppService = impedimentoTarefaAppService;
     _impedimentoAppService       = impedimentoAppService;
     _tarefaAppService            = tarefaAppService;
 }
Esempio n. 5
0
 public AlterarModel(IRecursoTarefaAppService recursoTarefaAppService,
                     IRecursoProjetoAppService recursoProjetoAppService,
                     ITarefaAppService tarefaAppService)
 {
     _recursoTarefaAppService  = recursoTarefaAppService;
     _recursoProjetoAppService = recursoProjetoAppService;
     _tarefaAppService         = tarefaAppService;
 }
 public BaseAdminController(IUsuarioAppService baseApps, ILogAppService logApps, INoticiaAppService notApps, ITarefaAppService tarApps, INotificacaoAppService notfApps, IUsuarioAppService usuApps, IAgendaAppService ageApps, IConfiguracaoAppService confApps, ITipoPessoaAppService tpApps)
 {
     baseApp = baseApps;
     logApp  = logApps;
     notiApp = notApps;
     tarApp  = tarApps;
     notfApp = notfApps;
     usuApp  = usuApps;
     ageApp  = ageApps;
     confApp = confApps;
     tpApp   = tpApps;
 }
Esempio n. 7
0
 public IncluirModel(ITarefaAppService tarefaAppService,
                     IProjetoAppService projetoAppService,
                     ISistemaAppService sistemaAppService,
                     IWorkflowAppService workflowAppService,
                     ITipoTarefaAppService tipoTarefaAppService)
 {
     _tarefaAppService     = tarefaAppService;
     _projetoAppService    = projetoAppService;
     _sistemaAppService    = sistemaAppService;
     _workflowAppService   = workflowAppService;
     _tipoTarefaAppService = tipoTarefaAppService;
 }
Esempio n. 8
0
 public IncluirModel(ITarefaAppService tarefaAppService,
                     IAppService <ProjetoViewModel> projetoAppService,
                     IAppService <SistemaViewModel> sistemaAppService,
                     IWorkflowAppService workflowAppService,
                     IAppService <TipoTarefaViewModel> tipoTarefaAppService)
 {
     _tarefaAppService     = tarefaAppService;
     _projetoAppService    = projetoAppService;
     _sistemaAppService    = sistemaAppService;
     _workflowAppService   = workflowAppService;
     _tipoTarefaAppService = tipoTarefaAppService;
 }
 public BaseAdminController(IUsuarioAppService baseApps, ILogAppService logApps, INoticiaAppService notApps, ITarefaAppService tarApps, INotificacaoAppService notfApps, ICargoAppService carApps, IUsuarioAppService usuApps, IFilialAppService filApps, ITipoContribuinteAppService tcoApps, IUnidadeAppService uniApps, IAgendaAppService ageApps, ITipoTagAppService tagApps, IConfiguracaoAppService confApps, ITipoPessoaAppService tpApps, IRegimeTributarioAppService rtApps)
 {
     baseApp = baseApps;
     logApp  = logApps;
     notiApp = notApps;
     tarApp  = tarApps;
     notfApp = notfApps;
     carApp  = carApps;
     usuApp  = usuApps;
     filApp  = filApps;
     tcoApp  = tcoApps;
     uniApp  = uniApps;
     ageApp  = ageApps;
     tagApp  = tagApps;
     confApp = confApps;
     tpApp   = tpApps;
     rtApp   = rtApps;
 }
        public KadastroServiceHost()
        {
            //context
            var unit = new MainUnitOfWork();

            //repositories
            var usuarioRepository = new UsuarioRepository(unit);
            var pontoRepository = new PontoRepository(unit);
            var intervaloRepository = new IntervaloRepository(unit);
            var tarefaRepository = new TarefaRepository(unit);

            //services
            var usuarioService = new UsuarioService(usuarioRepository);
            var tarefaService = new TarefaService(tarefaRepository);
            //var pontoRepository = new PontoService(pontoRepository, intervaloRepository);

            //applications
            _usuarioAppService = new UsuarioAppService(usuarioRepository, usuarioService);
            _tarefaAppService = new TarefaAppService(tarefaRepository, tarefaService);
        }
Esempio n. 11
0
 public TarefaController(ITarefaAppService tarefaAppService, IUnitOfWork unitOfWork)
 {
     _tarefaAppService = tarefaAppService;
     _unitOfWork       = unitOfWork;
 }
 public AtividadesController(IAtividadeAppService atividadeApp, ITarefaAppService tarefaApp, IPessoaAppService pessoaApp)
 {
     _atividadeApp = atividadeApp;
     _tarefaApp    = tarefaApp;
     _pessoaApp    = pessoaApp;
 }
 public ValorTarefasController(IValorTarefaAppService valortarefaApp, ITarefaAppService tarefaApp)
 {
     _valortarefaApp = valortarefaApp;
     _tarefaApp      = tarefaApp;
 }
Esempio n. 14
0
 public TarefaService(IMapper mapper, ITarefaAppService tarefaAppService)
 {
     _mapper           = mapper;
     _tarefaAppService = tarefaAppService;
 }
Esempio n. 15
0
 public FluxoTrabalhoModel(IWorkflowAppService workflowAppService,
                           ITarefaAppService tarefaAppService)
 {
     _workflowAppService = workflowAppService;
     _tarefaAppService   = tarefaAppService;
 }
Esempio n. 16
0
 public ApontamentoAppService(IMapper mapper, IRepository <Apontamento> repository, IUnitOfWork unitOfWork, IApontamentoRepository apontamentoRepository, ITarefaAppService tarefaAppService)
     : base(mapper, repository, unitOfWork)
 {
     _apontamentoRepository = apontamentoRepository;
     _tarefaAppService      = tarefaAppService;
 }
Esempio n. 17
0
 public ListarModel(ITarefaAppService tarefaAppService)
 {
     _tarefaAppService = tarefaAppService;
 }
 public TarefasController()
 {
     _tarefaAppService = new TarefaAppService();
 }
Esempio n. 19
0
 public TarefaController(ITarefaAppService tarefaAppService)
 {
     _tarefaAppService = tarefaAppService;
 }
 public TarefasRestController(ITarefaAppService TarefaApp)
 {
     _TarefaApp = TarefaApp;
 }
Esempio n. 21
0
 public TarefaController(ITarefaAppService baseApps, ILogAppService logApps, IUsuarioAppService usuApps)
 {
     baseApp = baseApps;
     logApp  = logApps;
     usuApp  = usuApps;
 }
Esempio n. 22
0
 public RemoverModel(ITarefaAppService tarefaAppService)
 {
     _tarefaAppService = tarefaAppService;
 }
Esempio n. 23
0
 public TarefasController(ITarefaAppService tarefaApp)
 {
     _tarefaApp = tarefaApp;
 }