public static List <VendorInfo> GetVendorInfo(string vendorName) { try { CommonServiceClient service = new CommonServiceClient(); return(service.GetVendorInfo(vendorName).ToList()); } catch (Exception ex) { throw ex; } }