示例#1
0
 public AccountBookHelper(HttpContextBase context,
                          LedgerContext ledger,
                          ICacheHelper cache,
                          ICertificateWordHelper certWord)
 {
     _identity = context.User.Identity as ClaimsIdentity;
     _ledger   = ledger;
     _cache    = cache;
     _certWord = certWord;
 }
 public AccountBookApiController(IAccountBookHelper acctBook,
                                 ICertificateWordHelper certWord,
                                 IModelValidation modelValid,
                                 IAuxiliaryHelper auxType,
                                 IAccountHelper account)
 {
     _acctBook   = acctBook;
     _modelValid = modelValid;
     _certWord   = certWord;
     _auxType    = auxType;
     _account    = account;
 }
示例#3
0
 public LedgerController(HttpContextBase context,
                         ICacheHelper cache,
                         IAuxiliaryHelper auxiliary,
                         IAccountHelper account,
                         ICertificateWordHelper certWord,
                         IVoucherHelper voucher)
 {
     _identity  = context.User.Identity as ClaimsIdentity;
     _cache     = cache;
     _auxiliary = auxiliary;
     _account   = account;
     _certWord  = certWord;
     _voucher   = voucher;
 }