Exemplo n.º 1
0
 public ActionResult Delete([FromBody] Course c)
 {
     if (CourseRepo.Del(c))
     {
         return(Ok("Course has been successfull deleted"));
     }
     return(NotFound("The Course record is not found"));
 }