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)); } }