diff --git a/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/ApiBaseViewModel.cs b/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/ApiBaseViewModel.cs
index fcd872f..cc90585 100644
--- a/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/ApiBaseViewModel.cs
+++ b/src/CSharp/Cores/EasyMicroservices.UI.Cores.Mvvm/ApiBaseViewModel.cs
@@ -9,7 +9,10 @@ namespace EasyMicroservices.UI.Cores;
///
public class ApiBaseViewModel : BaseViewModel
{
-
+ ///
+ ///
+ ///
+ public Func> OnExceptionHandler { get; set; }
///
///
///
@@ -30,7 +33,7 @@ public async virtual Task ExecuteApi(Func> getServerResult
if (response.IsSuccess)
await onSuccess(response);
else
- await DisplayServerError(response.Error);
+ await InternalDisplayServerError(response.Error);
}
catch (Exception ex)
{
@@ -64,7 +67,7 @@ public virtual async Task ExecuteApi(Func> getServerResult, Func> getServerResult, FuncAnyCPU;x64;x86
EasyMicroservices
true
- 0.0.0.13
+ 0.0.0.14
Model View View Model
EasyMicroservices@gmail.com
mvvm,mvpvm,modelview,modelviewviewmodel