Example #1
0
 public AuthService(AstroDBContext context, IOptions <AuthOptions> authoptions, IHttpContextAccessor httpContextAccessor, IMailSender mailSender)
 {
     dBContext                = context;
     this.authoptions         = authoptions;
     this.httpContextAccessor = httpContextAccessor;
     this.mailSender          = mailSender;
 }
Example #2
0
 public AdminService(AstroDBContext context)
 {
     dBContext = context;
 }
Example #3
0
 public CommentService(AstroDBContext dBContext, IHttpContextAccessor httpContextAccessor)
 {
     this.dBContext           = dBContext;
     this.httpContextAccessor = httpContextAccessor;
 }
Example #4
0
 public RatingService(AstroDBContext context, IHttpContextAccessor _httpContextAccessor)
 {
     dBContext           = context;
     httpContextAccessor = _httpContextAccessor;
 }
Example #5
0
 public UserService(IHttpContextAccessor httpContextAccessor, AstroDBContext dBContext)
 {
     this.httpContextAccessor = httpContextAccessor;
     this.dBContext           = dBContext;
 }
Example #6
0
 public PostService(IOptions <BlobConfig> config, AstroDBContext dBContext, IHttpContextAccessor httpContextAccessor)
 {
     this.config              = config;
     this.dBContext           = dBContext;
     this.httpContextAccessor = httpContextAccessor;
 }