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")); }