コード例 #1
0
ファイル: EmailController.cs プロジェクト: jbr1989/EmailAPI
 public EmailController(webmailContext context, IJwtTokenService jwtTokenService, IHandlerEncrypt encrypt)
 {
     _context         = context; // QUITAR DE AQUI
     _handler         = new clsHandlerEmailExchange();
     _jwtTokenService = jwtTokenService;
     _encrypt         = encrypt;
 }
コード例 #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;
 }
コード例 #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;
 }
コード例 #4
0
 public EmailsController(webmailContext context)
 {
     _context = context;
 }
コード例 #5
0
 public MailboxController(webmailContext context)
 {
     _context = context;
 }
コード例 #6
0
 public clsHandlerCorreu(webmailContext context)
 {
     _context = context;
 }
コード例 #7
0
ファイル: CorreusController.cs プロジェクト: jbr1989/EmailAPI
 public CorreusController(webmailContext context, IMapper mapper)
 {
     _context = context;
     _mapper  = mapper;
 }
コード例 #8
0
        public static void Initialize(IServiceProvider serviceProvider)
        {
            context = (webmailContext)serviceProvider.GetService(typeof(webmailContext));

            InitializeWebmail();
        }