private static void SendErrorsToUser(IList<Exception> errors)
{
foreach (var error in errors)
Diagnostics.Logger.WriteException(error);
throw new ApplicationException("Error(s) occured while deleting one or more contents. Errors are logged. Contact the system administrator for details.", errors[0]);
}