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;
        }
示例#2
0
        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;
 }
示例#4
0
 public BoardController(MindnoteContext context, MindnoteContextForView contextForView, UserService userService)
 {
     _context        = context;
     _contextForView = contextForView;
 }