public CustomerAppService(IRepository <Customer, long> customerRepository, IRepository <Address, long> addressRepository, IRepository <Phone, long> phoneRepository, ICustomerListExcelExporter customerListExcelExporter, IGenericAppService genericAppService) { this._customerRepository = customerRepository; this._addressRepository = addressRepository; this._phoneRepository = phoneRepository; this._customerListExcelExporter = customerListExcelExporter; this._genericAppService = genericAppService; }
/// <summary> /// ctor /// </summary> /// <param name="customerRepository"></param> /// <param name="customerListExcelExporter"></param> /// <param name="chargeRecordRepository"></param> /// <param name="applyChargeRepository"></param> /// <param name="objectManager"></param> public CustomerAppService(IRepository <Customer, int> customerRepository, ICustomerListExcelExporter customerListExcelExporter, IRepository <ChargeRecord> chargeRecordRepository, IRepository <ApplyCharge> applyChargeRepository, IBinaryObjectManager objectManager) { _customerRepository = customerRepository; _customerListExcelExporter = customerListExcelExporter; _chargeRecordRepository = chargeRecordRepository; _applyChargeRepository = applyChargeRepository; _objectManager = objectManager; }