Combine search and getAll methods in MainCrudController - RESTWS-320