Open j-szymanski opened 3 years ago
In controller removed % around last name - I think it is not the role of controller to modify input as service shall have all the business knowledge
Added (modified) findAllByLastName() method in repository to findAllByLastNameIgnoreCase() so that search is not case sensitive
Implemented case insensitive find by last name like in map implementation (therefore controller change was needed)
In controller removed % around last name - I think it is not the role of controller to modify input as service shall have all the business knowledge
Added (modified) findAllByLastName() method in repository to findAllByLastNameIgnoreCase() so that search is not case sensitive
Implemented case insensitive find by last name like in map implementation (therefore controller change was needed)