public PerfilController([FromServices] IDistributedCache cache, IPerfilService service) { _cache = cache; _perfilService = service; _cacheOptions = new DistributedCacheEntryOptions().SetAbsoluteExpiration(TimeSpan.FromMinutes(2)); }
public ManejoUsuariosController(IStringLocalizer <SharedResources> sharedLocalizer, IPerfilService perfilService, IUserMap map, IUserService userservice) { this.userMap = map; this.userService = userservice; this.perfilService = perfilService; _sharedLocalizer = sharedLocalizer; }
public SeguridadController(ISeguridadService seguridadService, IMapper mapper, IPerfilService perfilService, IUsuarioService usuarioService) { this._seguridadService = seguridadService; this._mapper = mapper; this._perfilService = perfilService; this._usuarioService = usuarioService; }
public ManejoUsuariosController(EmailSender email, IPerfilService perfilService, IUserMap map, IUserService userservice) { this.userMap = map; this.userService = userservice; this.perfilService = perfilService; this.email = email; }
public CriarPerfilCommandHandler(IMediator mediator, IPerfilRepository perfilRepository, IPerfilService domainService, IUnitOfWork unitOfWork, INotificationHandler <DomainNotification> notifications) : base(mediator, unitOfWork, notifications) { _mediator = mediator; _perfilRepository = perfilRepository; _perfilService = domainService; }
public AtribuirPermissaoCommandHandler(IMediator mediator, IUnitOfWork unitOfWork, INotificationHandler <DomainNotification> notifications, IPerfilService domainService, IPerfilRepository perfilRespository) : base(mediator, unitOfWork, notifications) { _mediator = mediator; _perfilService = domainService; _perfilRepository = perfilRespository; }
public PerfilController(ILoggerManager logger, IPerfilService _perfilService, IMapper mapper, IOptions <AppSettings> appSettings) { _logger = logger; _PerfilService = _perfilService; _mapper = mapper; _appSettings = appSettings.Value; }
/// <summary> /// PerfilController /// </summary> /// <param name="service"></param> public PerfilController(IPerfilService service, IMapper mapper, IAuditoriaService auditoria, IEmpresaService serviceEmpresa, IUserService serviceUsuario) { _auditoria = auditoria; _service = service; _mapper = mapper; _serviceEmpresa = serviceEmpresa; _serviceUsuario = serviceUsuario; }
public PerfilesController(IModuloMap moduloMap, IModuloPerfilService moduloPerfilService, IPerfilMap map, IPerfilService perfilservice, IModuloService moduloService, IModuloPerfilMap moduloPerfilMap) { this.perfilMap = map; this.perfilService = perfilservice; this.moduloService = moduloService; this.moduloPerfilMap = moduloPerfilMap; this.moduloPerfilService = moduloPerfilService; this.moduloMap = moduloMap; }
public MainPageViewModel( IPerfilService perfilService, INavegacaoService navegacaoService) { _perfilService = perfilService; _navegacaoService = navegacaoService; Pins = new ObservableCollection <IPin>(); PesquisaCommand = new Command(PesquisaCommandExecute, (obj) => !EstaOcupado); DevsPageCommand = new Command(DevsPageCommandExecute, (obj) => !EstaOcupado); }
public void Setup() { perfilService = Substitute.For<IPerfilService>(); perfilAppService = new PerfilAppService(perfilService); perfilVM = new PerfilVM { Nome = "Novo Perfil" }; Mapper.CreateMap<PerfilVM, Perfil>(); Mapper.CreateMap<Perfil, PerfilVM>(); }
public UsersController( IUserService userService, IPerfilService perfilService, IMapper mapper, IOptions <AppSettings> appSettings, IOptions <Ldap> ldapSettings) { _userService = userService; _mapper = mapper; _appSettings = appSettings.Value; _ldapSettings = ldapSettings.Value; _perfilService = perfilService; }
public UsuarioAppService( IUsuarioService usuarioService, IUnitOfWork uow, ILogService logService, IPerfilService perfilService, IAdministradorService admService, IUnidadeService unidadeService, IPermissaoService permissaoService, IUsuarioPerfilUnidadeService usuarioPerfilUnidadeService) : base(uow) { _usuarioService = usuarioService; _logService = logService; _perfilService = perfilService; _admService = admService; _unidadeService = unidadeService; _permissaoService = permissaoService; _usuarioPerfilUnidadeService = usuarioPerfilUnidadeService; }
public void Initialize() { var dbInicio = new DbTests(); try { dbInicio.Limpa_E_Cria_Database(); } catch (Exception ex) { Console.WriteLine(ex.Message); } Console.WriteLine("Banco de dados Limpo e atualizado"); BootStrapper.RegisterServicesSingleton(kernel); _uow = kernel.Get <IUnitOfWork>(); _usuarioService = kernel.Get <IUsuarioService>(); _perfilService = kernel.Get <IPerfilService>(); _unidadeService = kernel.Get <IUnidadeService>(); _feriadoService = kernel.Get <IFeriadoService>(); usuario = _usuarioService.ObterPorCPF("11391275861"); }
public PerfilAppService(IPerfilService perfilService, IMapper mapper) : base(perfilService, mapper) { _perfilService = perfilService; _mapper = mapper; }
public PerfilApplication(IPerfilService perfilService) { _perfilService = perfilService; }
public PerfilAppService(IPerfilService perfilService) : base(perfilService) { _perfilService = perfilService; }
public void Setup() { perfilRepository = Substitute.For<IPerfilRepository>(); perfilService = new PerfilService(perfilRepository); }
public CuentaController(IPerfilService perfilService, IUserMap map, IUserService userservice) { this.userMap = map; this.userservice = userservice; this.perfilService = perfilService; }
public PerfilMap(IPerfilService perfilService) { this.perfilService = perfilService; }
public PerfilController(IPerfilService perfilService) { _perfilService = perfilService; }
public EmpresaController(IEmpresaService companyService, IPerfilService perfilService, IModuloService moduloService) { _companyService = companyService; _perfilService = perfilService; _moduloService = moduloService; }
public PerfilController(IPerfilService perfilService, IMapper mapper, IUriService uriService) { this._perfilService = perfilService; this._mapper = mapper; this._uriService = uriService; }
//Esta region es el constructor que inicializa el servicio de la capa de logica #region Constructor public PerfilController(IPerfilService servicio) { this.servicio = servicio; }
public UsuariosController(IUsuarioService usuarioService, IMapper mapper, IPerfilService perfilService) { this._usuarioService = usuarioService; this._mapper = mapper; this._perfilService = perfilService; }
public PerfisController(IPerfilService service) { this.Service = service; }
public UsuarioAppService(IUsuarioService usuarioService, IPerfilService perfilService) { this.usuarioService = usuarioService; this.perfilService = perfilService; }
public PerfilAppService(IPerfilService service, IMapper mapper) : base(service, mapper) { this.service = service; this.mapper = mapper; }
public FuncionarioController(IFuncionarioService serviceFuncionario, IPerfilService servicePerfil) { _serviceFuncionario = serviceFuncionario; _servicePerfil = servicePerfil; }
public PerfilController(IPerfilService PerfilService) { _PerfilService = PerfilService; }
public PerfilController(IPerfilService perfilService, IModuloService moduloService) { _perfilService = perfilService; _moduloService = moduloService; }
public PerfilesController(IPerfilService perfilService, IMapper mapper) { this._perfilService = perfilService; this._mapper = mapper; }
public PerfilAppService(IPerfilService perfilService) { this.perfilService = perfilService; }
public UsuarioController(IUsuarioService servicio, IPerfilService perfilServicio) { this.servicio = servicio; this.perfilServicio = perfilServicio; }