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