public static List <tContactPersonDetail> WMGetContactPersonLst(long Dept) { List <tContactPersonDetail> ConPerLst = new List <tContactPersonDetail>(); iUCCommonFilterClient UCCommonFilter = new iUCCommonFilterClient(); CustomProfile profile = CustomProfile.GetProfile(); ConPerLst = UCCommonFilter.GetContactPersonList(Dept, profile.DBConnection._constr).ToList(); return(ConPerLst); }