예제 #1
0
 public AuthenticationProvider(ISessionProvider sessionProvider, IEncrypter encrypter, IDefinitionBusiness definitionBusiness, ICacheProvider cacheProvider, IMenuBusiness menuBusiness, ICookieProvider cookieProvider, IActionBusiness action)
 {
     _definitionBusiness = definitionBusiness;
     _sessionProvider    = sessionProvider;
     _cacheProvider      = cacheProvider;
     _menuBusiness       = menuBusiness;
     _cookieProvider     = cookieProvider;
     _action             = action;
 }
예제 #2
0
 public LoginBusiness(IClienteEntity clienteRepository, IAlunoEntity alunoRepository,
                      IFuncionarioData funcionarioRepository, IPerfilAlunoData perfilRepository, IVersaoAppPermissaoEntityData versaoAppPermissaoRepository,
                      IMenuData menuRepository, IDataAccess <Pessoa> pessoaRepository, IBlackListData blackListRepository)
 {
     _alunoRepository              = alunoRepository;
     _clienteRepository            = clienteRepository;
     _funcionarioRepository        = funcionarioRepository;
     _perfilRepository             = perfilRepository;
     _versaoAppPermissaoRepository = versaoAppPermissaoRepository;
     _menuBusiness = new MenuBusiness(menuRepository, pessoaRepository, blackListRepository);
 }
예제 #3
0
 public NotificacaoBusiness(INotificacaoData notificacaoRepository,
                            IAccessData accessRepository,
                            IAlunoEntity alunoRepository,
                            INotificacaoDuvidasAcademicasData notificacaoDuvidaData,
                            IMenuBusiness menuBusiness)
 {
     _notificacaoRepository = notificacaoRepository;
     _accessRepository      = accessRepository;
     _alunoRepository       = alunoRepository;
     _notificacaoDuvidaData = notificacaoDuvidaData;
     _menuBusiness          = menuBusiness;
 }
 public MenuController(IMenuBusiness menuBusiness)
 {
     _menuBusiness = menuBusiness;
 }
예제 #5
0
 public HomeBusiness(IAcoesBusiness acoesBusiness, IMenuBusiness menuBusiness)
 {
     m_AcoesBusiness = acoesBusiness;
     m_MenuBusiness  = menuBusiness;
 }
예제 #6
0
 public MenuController(IHttpContextAccessor httpContextAccessor,
                       IMenuBusiness menuBusiness)
 {
     _authenticationDto = httpContextAccessor.HttpContext.User.ToAuthenticationDto();
     _menuBusiness      = menuBusiness;
 }