diff --git a/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/NullUiMessageService.cs b/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/NullUiMessageService.cs deleted file mode 100644 index 2a00d29ec5..0000000000 --- a/framework/src/Volo.Abp.AspNetCore.Components.WebAssembly/Volo/Abp/AspNetCore/Components/WebAssembly/NullUiMessageService.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; -using System.Threading.Tasks; -using Volo.Abp.DependencyInjection; - -namespace Volo.Abp.AspNetCore.Components.WebAssembly -{ - public class NullUiMessageService : IUiMessageService, ITransientDependency - { - public Task InfoAsync(string message, string title = null, Action options = null) - { - return Task.CompletedTask; - } - - public Task SuccessAsync(string message, string title = null, Action options = null) - { - return Task.CompletedTask; - } - - public Task WarnAsync(string message, string title = null, Action options = null) - { - return Task.CompletedTask; - } - - public Task ErrorAsync(string message, string title = null, Action options = null) - { - return Task.CompletedTask; - } - - public Task ConfirmAsync(string message, string title = null, Action options = null) - { - return Task.FromResult(true); - } - } -}