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); }
public void DeactivatePersonnel(Personnel 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."); }