예제 #1
0
 public async Task <ActionResult <List <Categoria> > > Busca(string texto)
 {
     try
     {
         return(Ok(await _service.Busca(texto)));
     }
     catch (Exception e)
     {
         throw e;
     }
 }