public async Task SoftDeleteAsync(Guid id) { // 这里引入领域设计中的 软删除命令 await Bus.SendCommand(new SoftDeleteCommand <TEntity>(id)); if (!Notifications.GetSpecifyTypeNotifications(DomainNotificationType.Success).Any()) { Logger.LogWarning($"SoftDeleteAsync Erro At {typeof(TEntity).Name}", Notifications.GetNotifications()); } }