public int SaveFormValue(MVCModels.Form_Value objFormValue) { objFormControls = new BL_FormControls(); objCurInfo = new DataControl.CurrentInfo(); objFormValue.Company_Code = objCurInfo.GetCompanyCode(); objFormValue.Company_Id = Convert.ToInt32(objCurInfo.GetCompanyId()); objFormValue.Created_By = objCurInfo.GetUserCode(); return(objFormControls.SaveFormValue(objFormValue)); }
public int SaveFormName(string formName, string formCusName) { objFormControls = new BL_FormControls(); objCurInfo = new DataControl.CurrentInfo(); return(objFormControls.SaveFormName(formName, objCurInfo.GetCompanyCode(), objCurInfo.GetUserCode(), Convert.ToInt32(objCurInfo.GetCompanyId()), formCusName)); }
public JsonResult BindFormControls(int formId, int Form_Value_Id) { objFormControls = new BL_FormControls(); objCurInfo = new DataControl.CurrentInfo(); return(Json(objFormControls.BindFormControls(formId, objCurInfo.GetCompanyCode(), Form_Value_Id))); }
public JsonResult GetFormMasterData() { objFormControls = new BL_FormControls(); objCurInfo = new DataControl.CurrentInfo(); return(Json(objFormControls.GetFormMasterData(objCurInfo.GetCompanyCode()), JsonRequestBehavior.AllowGet)); }