Ejemplo n.º 1
0
 public ActionResult <string> Delete(int id)
 {
     if (_sideRepo.FindByIdAndRemove(id))
     {
         return(Ok("successfully deleted"));
     }
     return(BadRequest("ERROR, not able to delete"));;
 }