coding #6 adding type to the params  that get to method
coding #6 create test for method createRecordLogAndSave