Beispiel #1
0
 public OutPutJson BindFormControls(int formId, string company_Code, int Form_Value_Id)
 {
     try
     {
         objFormControls = new DAL_FormControls();
         var controls = objFormControls.BindFormControls(formId, company_Code, Form_Value_Id);
         return(GenerateOutputJson(SUCCESS, controls, 0, SUCCESS_STATUS));
     }
     catch (Exception ex)
     {
         return(GenerateOutputJson(ERROR, ex.Message, 0, ERROR_STATUS));
     }
 }
Beispiel #2
0
 public OutPutJson GetFormMasterData(string companyCode)
 {
     objFormControls = new DAL_FormControls();
     try
     {
         FormMasterData objFormMasterData = new FormMasterData();
         objFormMasterData = objFormControls.GetFormMasterData(companyCode);
         return(GenerateOutputJson(SUCCESS, objFormMasterData, 0, SUCCESS_STATUS));
     }
     catch (Exception ex)
     {
         return(GenerateOutputJson(ex.Message, "", 0, ERROR_STATUS));
     }
 }
Beispiel #3
0
 public int SaveFormValue(MVCModels.Form_Value objFormValue)
 {
     objFormControls = new DAL_FormControls();
     return(objFormControls.SaveFormValue(objFormValue));
 }
Beispiel #4
0
 public int SaveFormControl(MVCModels.FormControlDetails objFormControlDetails)
 {
     objFormControls = new DAL_FormControls();
     return(objFormControls.SaveFormControl(objFormControlDetails));
 }
Beispiel #5
0
 public int SaveFormName(string formName, string company_code, string user_code, int company_id, string formCusName)
 {
     objFormControls = new DAL_FormControls();
     return(objFormControls.SaveFormName(formName, company_code, user_code, company_id, formCusName));
 }