示例#1
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;
 }
示例#2
0
        public ModelValidation(ILog log,
                               ICompanyHelper company,
                               IVoucherHelper voucher,
                               IAccountBookHelper accountBook,
                               IBizSetting setting,
                               IBizCustomer customer)
        {
            _log         = log;
            _company     = company;
            _voucher     = voucher;
            _accountBook = accountBook;

            _setting  = setting;
            _customer = customer;
        }
 public VoucherApiController(IModelValidation modelValid, IVoucherHelper voucher)
 {
     _modelValid = modelValid;
     _voucher    = voucher;
 }