Exemplo n.º 1
0
 public GiftCodeAccess(IOptions <ConnectionStrings> myConnect, AccountJwt accountJwt, IOptions <AppSettings> appSetting)
 {
     _myConnect  = myConnect.Value;
     _accountJwt = accountJwt;
     _appSetting = appSetting.Value;
     db          = new DBHelper(_myConnect.GiftCodeConnection);
 }
 public GiftCodeController(GiftCodeAccess giftcodeAccess, AccountJwt account, IHttpContextAccessor accessor)
 {
     _giftcodeAccess = giftcodeAccess;
     _account        = account;
     _accessor       = accessor;
 }
Exemplo n.º 3
0
 public AdminController(AdminAccess adminAccess, AccountJwt account)
 {
     _adminAccess = adminAccess;
     _account     = account;
 }