Ejemplo n.º 1
0
        public JsonResult SchoolStudentUpdateProfile(SchoolStudentEdit Info)
        {
            ResultInfo <string> ResultInfo = new ResultInfo <string>()
            {
                Status      = false,
                Description = "Failed|Login"
            };

            try
            {
                if (Info != null)
                {
                    SchoolStudent Obj = new SchoolStudent();
                    ResultInfo.Info = Obj.UpdateSchoolStudentProfile(Info);
                    if (ResultInfo.Info != null)
                    {
                        ResultInfo.Description = "Success| Updation Sucess";
                        ResultInfo.Status      = true;
                    }
                }
            }
            catch (Exception ex)
            {
            }
            return(Json(ResultInfo, JsonRequestBehavior.AllowGet));
        }