Beispiel #1
0
        public ActionResult UpdateExistingStudent([FromBody] StudentDetailsObject studentDetailsObject)
        {
            var dataAdd = new DataAdd();

            dataAdd.UpdateExistingStudent(studentDetailsObject);

            return(Json(new { success = true }, JsonRequestBehavior.AllowGet));
        }
Beispiel #2
0
        public ActionResult GetStudentDetailsForSpecificStudent([FromBody] StudentDetailsObject studentDetailsObject)
        {
            var dataRetreval = new DataRetreval();

            var details = dataRetreval.GetStudentDetailsForSpecificStudent(studentDetailsObject);

            return(Json(details, JsonRequestBehavior.AllowGet));
        }