Esempio n. 1
0
 public IHttpActionResult DeleteReport([FromUri] int Id)
 {
     if (DbFunctions.DeleteReportFromDB(Id))
     {
         return(Ok("Successfully deleted report"));
     }
     else
     {
         return(NotFound());
     }
 }//Delete's the specified by Id