Esempio n. 1
0
        public JsonResult Delete_InstituteList(string ID = "")
        {
            bool flag = false;
            ChoiceFillingRepository objRep = new ChoiceFillingRepository();
            DataSet _ds = objRep.Delete_InstituteList(ID, Session["studentid"].ToString());

            if (_ds != null)
            {
                if (_ds.Tables[0].Rows.Count > 0)
                {
                    if (_ds.Tables[0].Rows[0]["FLAG"].ToString() == "1")
                    {
                        flag = true;
                    }
                }
            }
            return(Json(new
            {
                flag = flag
            },
                        JsonRequestBehavior.AllowGet
                        ));
        }