Exemple #1
0
 public UserController(IEmailSender emailSender, ReleaseasyContext context, ILogger <UserController> logger, UserManager <User> userManager, SignInManager <User> signInManager)
 {
     this.emailSender   = emailSender;
     this.context       = context;
     hashingAlgorithm   = System.Security.Cryptography.SHA256.Create();
     this.logger        = logger;
     this.userManager   = userManager;
     this.signInManager = signInManager;
 }
Exemple #2
0
 public TaskController(ReleaseasyContext context, IHttpContextAccessor httpContextAccessor)
 {
     this.context         = context;
     _httpContextAccessor = httpContextAccessor;
 }
Exemple #3
0
 public TagController(ReleaseasyContext context)
 {
     this.context = context;
 }
Exemple #4
0
 public ProjectController(ReleaseasyContext context, UserManager <User> userManager)
 {
     this.context     = context;
     this.userManager = userManager;
 }