public JsonResult tblData(string ID) { DefaultBll _DefaultBll = new DefaultBll(); return(Json(_DefaultBll.BindTblData(ID), JsonRequestBehavior.AllowGet)); //return Json("Name:'Helo'"); }
public ActionResult Create(Models.DataModel data) { DefaultBll _DefaultBll = new DefaultBll(); bool bData = _DefaultBll.CreateUser(data); if (bData == true) { return(RedirectToAction("Create")); } return(View()); }
public JsonResult _LogIn(Models.logIn logIn) { if (!ModelState.IsValid) { return(Json("F", JsonRequestBehavior.AllowGet)); } else { DefaultBll _DefaultBll = new DefaultBll(); return(Json(_DefaultBll.logIn(logIn), JsonRequestBehavior.AllowGet)); } }
public JsonResult TblValidation() { DefaultBll _DefaultBll = new DefaultBll(); return(Json(_DefaultBll.BindTblValidation(), JsonRequestBehavior.AllowGet)); }