public AccountController(
     UserManager <User> userManager,
     SignInManager <User> signInManager,
     MSDevContext context,
     IEmailSender emailSender,
     ILogger <AccountController> logger,
     IConfiguration configuration,
     IDistributedCache cache
     )
 {
     _userManager   = userManager;
     _signInManager = signInManager;
     _context       = context;
     _emailSender   = emailSender;
     _logger        = logger;
     _configuration = configuration;
     _cache         = cache;
 }
 public PracticeController(MSDevContext context)
 {
     _context = context;
 }
 public DownloadController(MSDevContext context)
 {
     _context = context;
 }
 public DocumentController(MSDevContext context)
 {
     _context = context;
 }
Example #5
0
 public HomeController(MSDevContext context) : base(context)
 {
     _context = context;
 }
Example #6
0
 public CommunityController(MSDevContext context) : base(context)
 {
 }
Example #7
0
 public HomeController(MSDevContext context,
                       IOptions <CognitiveOptions> options)
 {
     _context        = context;
     CognitveOptions = options;
 }
Example #8
0
 public ArticleController(MSDevContext context)
 {
     _context = context;
 }
Example #9
0
 public VideoController(MSDevContext context)
 {
     _context = context;
 }
Example #10
0
 public MobileController(MSDevContext context)
 {
     //ViewData["backUrl"] = values.FirstOrDefault().ToString();
     _context = context;
 }
Example #11
0
 public NewsController(MSDevContext context) : base(context)
 {
     _context = context;
 }
Example #12
0
 public LearnController(MSDevContext context, ILogger <LearnController> logger)
 {
     _context = context;
     _logger  = logger;
 }