Example #1
0
 public IHttpActionResult DeleteGraph(int id)
 {
     try {
         _graphService.DeleteGraph(id);
         return(Ok());
     } catch (KeyNotFoundException) {
         return(NotFound());
     }
 }
Example #2
0
 public void DeleteGraph(int id)
 {
     graphService.DeleteGraph(id);
 }