public ActionResult UpdateExistingStudent([FromBody] StudentDetailsObject studentDetailsObject) { var dataAdd = new DataAdd(); dataAdd.UpdateExistingStudent(studentDetailsObject); return(Json(new { success = true }, JsonRequestBehavior.AllowGet)); }
public ActionResult GetStudentDetailsForSpecificStudent([FromBody] StudentDetailsObject studentDetailsObject) { var dataRetreval = new DataRetreval(); var details = dataRetreval.GetStudentDetailsForSpecificStudent(studentDetailsObject); return(Json(details, JsonRequestBehavior.AllowGet)); }