public System.Data.DataTable Get(int EntityID, DateTime?ExeDate, bool IsActiveEmp, string Type = "") { string ReType = Type.ToLower(); if (ReType == "apendix") { return(T_CMS_Master_ContractManager.Report_AppendixHistory(EntityID, ExeDate, IsActiveEmp, null)); } else if (ReType == "ctractpending") { return(T_CMS_Master_ContractManager.Report_ContractLevelPending(EntityID, ExeDate, IsActiveEmp, null)); } else { return(T_CMS_Master_ContractManager.Report_ContractHistory(EntityID, ExeDate, IsActiveEmp, null)); } }