Esempio n. 1
0
 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));
 }
Esempio n. 2
0
 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));
 }
Esempio n. 3
0
 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)));
 }
Esempio n. 4
0
 public JsonResult GetFormMasterData()
 {
     objFormControls = new BL_FormControls();
     objCurInfo      = new DataControl.CurrentInfo();
     return(Json(objFormControls.GetFormMasterData(objCurInfo.GetCompanyCode()), JsonRequestBehavior.AllowGet));
 }