public CheckoutController(IOptions <AppSettings> appSetting, MindnoteContext context, UserService userService, MindnoteContextForView contextForView) { _context = context; _userService = userService; _contextForView = contextForView; AppSettings tempAppSetting = (AppSettings)appSetting.Value; _tapPayEndpoint = tempAppSetting.Common.TapPayEndpoint; _tapPayPartnerKey = tempAppSetting.Secrets.TapPayPartnerKey; }
public UserController(IOptions <AppSettings> appSetting, MindnoteContext context, MindnoteContextForView contextForView, UserService userService) { _context = context; _contextForView = contextForView; _userService = userService; AppSettings tempAppSetting = (AppSettings)appSetting.Value; _GCPProjectId = tempAppSetting.Common.GCPProjectId; _GCSBucketName = tempAppSetting.Common.GCSBucketName; _GCSCredential = tempAppSetting.Secrets.GCSCredential; }
public UserBoardNodeController(MindnoteContext context, MindnoteContextForView contextForView, UserService userService) { _context = context; _contextForView = contextForView; _userService = userService; }
public AuthController(MindnoteContext context, UserService userService) { _context = context; _userService = userService; }
public BoardController(MindnoteContext context, MindnoteContextForView contextForView, UserService userService) { _context = context; _contextForView = contextForView; }
public UserService(IOptions <AppSettings> appSettings, MindnoteContext context) { _jwtSecret = appSettings.Value.Secrets.JwtKey; _jwtExpiration = appSettings.Value.Common.Auth.JwtExpiration; _context = context; }