示例#1
0
 public IActionResult Get(int id)
 {
     try
     {
         return(Ok(_repo.Selecionar(id)));
     }
     catch (System.Exception)
     {
         return(StatusCode(500));
     }
 }