Пример #1
0
 public IHttpActionResult DeleteUpload(int id)
 {
     _uploadServ.DeleteUpload(id);
     if (ModelState.IsValid)
     {
         return(Ok());
     }
     else
     {
         return(BadRequest());
     }
 }