From 3ba6e174c52722f73e22991ca9d5f6f1d59adf01 Mon Sep 17 00:00:00 2001 From: Ali Yousefi Date: Sun, 24 Dec 2023 22:18:42 +0330 Subject: [PATCH] update packages --- .../EasyMicroservices.UI.Ordering.Blazor.csproj | 4 ++-- .../EasyMicroservices.UI.Ordering.ViewModels.csproj | 6 +++--- .../AddOrUpdateCountingUnitViewModel.cs | 10 ---------- .../FilterCountingUnitsListViewModel.cs | 11 ----------- .../ViewModels/Orders/FilterOrdersListViewModel.cs | 10 ---------- .../Products/AddOrUpdateProductViewModel.cs | 12 +----------- .../Products/FilterProductsListViewModel.cs | 11 ----------- 7 files changed, 6 insertions(+), 58 deletions(-) diff --git a/src/CSharp/Blazor/EasyMicroservices.UI.Ordering.Blazor/EasyMicroservices.UI.Ordering.Blazor.csproj b/src/CSharp/Blazor/EasyMicroservices.UI.Ordering.Blazor/EasyMicroservices.UI.Ordering.Blazor.csproj index 7196bf9..0db2114 100644 --- a/src/CSharp/Blazor/EasyMicroservices.UI.Ordering.Blazor/EasyMicroservices.UI.Ordering.Blazor.csproj +++ b/src/CSharp/Blazor/EasyMicroservices.UI.Ordering.Blazor/EasyMicroservices.UI.Ordering.Blazor.csproj @@ -4,7 +4,7 @@ net6.0;net7.0 EasyMicroservices true - 0.0.0.14 + 0.0.0.15 ordering UI compoents. EasyMicroservices@gmail.com component,microcomponent,ui,core,order,ordering @@ -16,7 +16,7 @@ - + diff --git a/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/EasyMicroservices.UI.Ordering.ViewModels.csproj b/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/EasyMicroservices.UI.Ordering.ViewModels.csproj index 43eaa73..673651d 100644 --- a/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/EasyMicroservices.UI.Ordering.ViewModels.csproj +++ b/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/EasyMicroservices.UI.Ordering.ViewModels.csproj @@ -4,7 +4,7 @@ net6.0;net7.0 EasyMicroservices true - 0.0.0.14 + 0.0.0.15 ordering view model. EasyMicroservices@gmail.com mvvm,viewmodel,viewmodels,modelviewviewmodel,ui,core,order,ordering @@ -19,8 +19,8 @@ - - + + diff --git a/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs b/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs index bb631d8..ce3743c 100644 --- a/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs +++ b/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/AddOrUpdateCountingUnitViewModel.cs @@ -80,16 +80,6 @@ await _countingUnitClient.AddAsync(new CreateCountingUnitRequestContract() Clear(); } - public override Task OnError(Exception exception) - { - return base.OnError(exception); - } - - public override Task DisplayFetchError(ServiceContracts.ErrorContract errorContract) - { - return base.DisplayFetchError(errorContract); - } - public async Task UpdateCountingUnit() { await _countingUnitClient.UpdateChangedValuesOnlyAsync(new UpdateCountingUnitRequestContract() diff --git a/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/FilterCountingUnitsListViewModel.cs b/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/FilterCountingUnitsListViewModel.cs index a1f2a9b..3134ba1 100644 --- a/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/FilterCountingUnitsListViewModel.cs +++ b/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/CountingUnits/FilterCountingUnitsListViewModel.cs @@ -47,7 +47,6 @@ private async Task Search() IsDeleted = false, Index = Index, Length = Length, - SortColumnNames = SortColumnNames }).AsCheckedResult(x => (x.Result, x.TotalCount)); CountingUnits.Clear(); @@ -68,16 +67,6 @@ await _countingUnitClient.SoftDeleteByIdAsync(new Int64SoftDeleteRequestContract CountingUnits.Remove(contract); OnDelete?.Invoke(contract); } - - public override Task OnError(Exception exception) - { - return base.OnError(exception); - } - - public override Task DisplayFetchError(ServiceContracts.ErrorContract errorContract) - { - return base.DisplayFetchError(errorContract); - } } } diff --git a/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/Orders/FilterOrdersListViewModel.cs b/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/Orders/FilterOrdersListViewModel.cs index 35945e3..021fb25 100644 --- a/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/Orders/FilterOrdersListViewModel.cs +++ b/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/Orders/FilterOrdersListViewModel.cs @@ -61,15 +61,5 @@ await _orderClient.SoftDeleteByIdAsync(new Int64SoftDeleteRequestContract() Orders.Remove(contract); OnDelete?.Invoke(contract); } - - public override Task OnError(Exception exception) - { - return base.OnError(exception); - } - - public override Task DisplayFetchError(ServiceContracts.ErrorContract errorContract) - { - return base.DisplayFetchError(errorContract); - } } } diff --git a/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/Products/AddOrUpdateProductViewModel.cs b/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/Products/AddOrUpdateProductViewModel.cs index ca6e8a3..a9f750a 100644 --- a/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/Products/AddOrUpdateProductViewModel.cs +++ b/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/Products/AddOrUpdateProductViewModel.cs @@ -123,16 +123,6 @@ await _productClient.AddAsync(new CreateProductRequestContract() Clear(); } - public override Task OnError(Exception exception) - { - return base.OnError(exception); - } - - public override Task DisplayFetchError(ServiceContracts.ErrorContract errorContract) - { - return base.DisplayFetchError(errorContract); - } - public async Task UpdateProduct() { await _productClient.UpdateChangedValuesOnlyAsync(new UpdateProductRequestContract() @@ -184,7 +174,7 @@ public async Task LoadConfig() { var items = await _countingUnitClient.GetAllByLanguageAsync(new GetByLanguageRequestContract() { - Language = "fa-IR" + LanguageShortName = "fa-IR" }).AsCheckedResult(x => x.Result); CountingUnits = items; } diff --git a/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/Products/FilterProductsListViewModel.cs b/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/Products/FilterProductsListViewModel.cs index 69f68cc..bc72ed2 100644 --- a/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/Products/FilterProductsListViewModel.cs +++ b/src/CSharp/Cores/EasyMicroservices.UI.Ordering.ViewModels/ViewModels/Products/FilterProductsListViewModel.cs @@ -47,7 +47,6 @@ private async Task Search() IsDeleted = false, Index = Index, Length = Length, - SortColumnNames = SortColumnNames }).AsCheckedResult(x => (x.Result, x.TotalCount)); Products.Clear(); @@ -68,16 +67,6 @@ await _productClient.SoftDeleteByIdAsync(new Int64SoftDeleteRequestContract() Products.Remove(contract); OnDelete?.Invoke(contract); } - - public override Task OnError(Exception exception) - { - return base.OnError(exception); - } - - public override Task DisplayFetchError(ServiceContracts.ErrorContract errorContract) - { - return base.DisplayFetchError(errorContract); - } } }