public static List<DC> GetDCList()
 {
     List<DC> lstDC = null;
     VendorManagementBLL objVendorManagementBLL = null;
     try
     {
     objVendorManagementBLL = new VendorManagementBLL();
     lstDC = objVendorManagementBLL.GetDCList();
     }
     catch(Exception ex)
     {
         // Log the error to a text file in the Error folder
         Common.WriteError(ex);
     }
     finally
     {
         objVendorManagementBLL = null;
     }
     return lstDC;
 }