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