public ActionResult Delete([FromBody] Student s) { if (StudentRepo.Del(s)) { return(Ok("Student has been successfull deleted")); } return(NotFound("The student record is not found")); }
public ActionResult Delete([FromBody] Student s) { if (StudentRepo.Del(s)) { return(Ok("Student has been successfull deleted")); } return(NotFound("The student record is not found")); }