public IActionResult Search([FromQuery] string query)
 {
     if (query != null)
     {
         var model = _freelancer.Search(query);
         if (model != null)
         {
             return(Ok(_freelancer.Search(query)));
         }
         else
         {
             return(BadRequest("No se encontraron resultados"));
         }
     }
     else
     {
         return(Ok(_freelancer.GetAll(1)));
     }
 }