Esempio n. 1
0
 public void Refresh()
 {
     //Refresh the ratings cache for this instance
     try {
         this.mRates.Clear();
         this.mRates.Merge(FinanceGateway.ReadVehicleMileageRates(this.mEffectiveDate, this.mAgentNumber, -1));
         this.mRates.Merge(FinanceGateway.ReadVehicleUnitRates(this.mEffectiveDate, this.mAgentNumber, -1));
         this.mRates.Merge(FinanceGateway.ReadRouteMileageRates(this.mEffectiveDate, this.mAgentNumber, null));
         this.mRates.Merge(FinanceGateway.ReadRouteUnitRates(this.mEffectiveDate, this.mAgentNumber, null));
     }
     catch (Exception ex) { throw new ApplicationException(ex.Message, ex); }
 }