示例#1
0
 public PensionController(IPensionService service, ITokenManager tokenManager, IAuthenticationApiConsumer authenticationApiConsumer, IPensionApiConsumer PensionApiConsumer, ISpartane_FileApiConsumer Spartane_FileApiConsumer, ISpartan_Business_RuleApiConsumer Spartan_Business_RuleApiConsumer, ISpartan_BR_Process_Event_DetailApiConsumer Spartan_BR_Process_Event_DetailApiConsumer, ISpartan_FormatApiConsumer Spartan_FormatApiConsumer, ISpartan_Format_PermissionsApiConsumer Spartan_Format_PermissionsApiConsumer, IGeneratePDFApiConsumer GeneratePDFApiConsumer, ISpartan_Format_RelatedApiConsumer Spartan_Format_RelatedApiConsumer)
 {
     this.service = service;
     this._IAuthenticationApiConsumer = authenticationApiConsumer;
     this._IPensionApiConsumer        = PensionApiConsumer;
     this._userCredential             = SessionHelper.UserCredential;
     this._tokenManager = tokenManager;
     this._ISpartane_FileApiConsumer                   = Spartane_FileApiConsumer;
     this._ISpartan_Business_RuleApiConsumer           = Spartan_Business_RuleApiConsumer;
     this._ISpartan_BR_Process_Event_DetailApiConsumer = Spartan_BR_Process_Event_DetailApiConsumer;
     this._ISpartan_FormatApiConsumer                  = Spartan_FormatApiConsumer;
     this._ISpartan_Format_PermissionsApiConsumer      = Spartan_Format_PermissionsApiConsumer;
     this._IGeneratePDFApiConsumer           = GeneratePDFApiConsumer;
     this._ISpartan_FormatRelatedApiConsumer = Spartan_Format_RelatedApiConsumer;
 }
示例#2
0
 public PensionController(IPensionService pensionService, ICurrencyService currencyService, ICountryService countryService, IBankAccountService bankAccountService) : base(bankAccountService)
 {
     this._pensionService  = pensionService;
     this._currencyService = currencyService;
     this._countryService  = countryService;
 }
 public PensionController(IPensionService PensionService)
 {
     _PensionService = PensionService;
 }