/*
  * Method name: CalcCommissionEarned
  * Version:   1.1.1
  #Description:  This method check whether a sales person does exists in the repo
  * Inputs:   Parameters- aSalesPerson, salesPersonRepo
  * Outputs: bool
  * Return value: flag
  * Change History:   20190930 By Md Ahsanul Hoque
  */
 private static void CalcCommissionEarned(double rate, SalesPerson aSalesPerson)
 {
     aSalesPerson.IndividualCommissionEarnedPerSales = aSalesPerson.InsuranceAmount * aSalesPerson.GetCommissionRate(rate);
 }