Exemplo n.º 1
0
 public EmailController(webmailContext context, IJwtTokenService jwtTokenService, IHandlerEncrypt encrypt)
 {
     _context         = context; // QUITAR DE AQUI
     _handler         = new clsHandlerEmailExchange();
     _jwtTokenService = jwtTokenService;
     _encrypt         = encrypt;
 }
Exemplo n.º 2
0
 public MaquinesController(webmailContext context, IJwtTokenService jwtTokenService, IHandlerEncrypt encrypt, IMapper mapper)
 {
     _context         = context; // QUITAR DE AQUI
     _handler         = new clsHandlerEmailExchange();
     _jwtTokenService = jwtTokenService;
     _encrypt         = encrypt;
     _mapper          = mapper;
 }
Exemplo n.º 3
0
 public LoginController(webmailContext context, IJwtTokenService jwtTokenService, IHandlerEncrypt encrypt, IConfiguration configuration)
 {
     _context         = context; // QUITAR DE AQUI
     _handler         = new clsHandlerEmailExchange();
     _jwtTokenService = jwtTokenService;
     _encrypt         = encrypt;
     _configuration   = configuration;
 }
Exemplo n.º 4
0
 public EmailsController(webmailContext context)
 {
     _context = context;
 }
 public MailboxController(webmailContext context)
 {
     _context = context;
 }
Exemplo n.º 6
0
 public clsHandlerCorreu(webmailContext context)
 {
     _context = context;
 }
Exemplo n.º 7
0
 public CorreusController(webmailContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
Exemplo n.º 8
0
        public static void Initialize(IServiceProvider serviceProvider)
        {
            context = (webmailContext)serviceProvider.GetService(typeof(webmailContext));

            InitializeWebmail();
        }