Beispiel #1
0
 public ActionResult <Todo> GetOne(int id)
 {
     try
     {
         return(Ok(_cservice.GetOne(id)));
     }
     catch (System.Exception err)
     {
         return(BadRequest(err.Message));
     }
 }