public void DeleteObjects(String RegistrationKey, List <DeletedObject> dOList) { try { Logger.Information("In DeleteObjects"); customerNum = util.GetDentalOfficeID(RegistrationKey); if (customerNum == 0) { return; } DeletedObjects.DeleteForMobile(dOList, customerNum); } catch (Exception ex) { Logger.LogError("IpAddress=" + HttpContext.Current.Request.UserHostAddress + " DentalOfficeID=" + customerNum, ex); throw new Exception("Exception in DeleteObjects"); } }