Ejemplo n.º 1
0
 public ActionResult <string> Delete(int id)
 {
     try
     {
         return(Ok(_ls.Delete(id)));
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }