public double GetSumOfDeductibles(Personnel personnel)
 {
     logger.Log("Summing up all deductions.");
     // processing here
     logger.Log("Summed all deductions.");
     return(personnel.TaxDeductibles + personnel.LoanDeductibles + personnel.MedicalDeductibles);
 }
Exemple #2
0
 public void DeactivatePersonnel(Personnel personnel)
 {
     logger.Log("Deactivating personnel.");
     // processing here
     logger.Log($"Personnel deactivated.");
     emailSender.SendNotification("Personnel deactivated.");
 }
Exemple #3
0
 public void SetupReportFields()
 {
     logger.Log("Starting fields setup.");
     // processing here
     logger.Log($"Report fields have been setup.");
 }