public IActionResult Listar()
 {
     try
     {
         return(Ok(_repository.Listar()));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }