private void ChangeRateOfEmployee(IEmployee employee, decimal ratePerMinute) { employee.ChangeRate(ratePerMinute); Console.WriteLine( $"Rate per minute of employee {employee.FirstName} {employee.LastName} was successfully set to {ratePerMinute} $"); }