Skip to content

Commit

Permalink
Merge pull request #5 from Ali-YousefiTelori/develop
Browse files Browse the repository at this point in the history
update packages
  • Loading branch information
Ali-YousefiTelori committed Dec 24, 2023
2 parents dc4f4d8 + a1747d5 commit db1f71e
Show file tree
Hide file tree
Showing 8 changed files with 7 additions and 70 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Authors>EasyMicroservices</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.0.0.3</Version>
<Version>0.0.0.4</Version>
<Description>Places UI compoents.</Description>
<Copyright>EasyMicroservices@gmail.com</Copyright>
<PackageTags>component,microcomponent,ui,core,place,places,city,cities,country,countries,province,provinces</PackageTags>
Expand All @@ -16,7 +16,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="MudBlazor" Version="6.11.1" />
<PackageReference Include="MudBlazor" Version="6.11.2" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<TargetFrameworks>net6.0;net7.0</TargetFrameworks>
<Authors>EasyMicroservices</Authors>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<Version>0.0.0.3</Version>
<Version>0.0.0.4</Version>
<Description>Places view model.</Description>
<Copyright>EasyMicroservices@gmail.com</Copyright>
<PackageTags>mvvm,viewmodel,viewmodels,modelviewviewmodel,ui,core,place,places,city,country,province,location</PackageTags>
Expand All @@ -19,8 +19,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="EasyMicroservices.PlacesMicroservice.Clients" Version="0.0.0.3" />
<PackageReference Include="EasyMicroservices.UI.Cores.Mvvm" Version="0.0.0.9" />
<PackageReference Include="EasyMicroservices.PlacesMicroservice.Clients" Version="0.0.0.5" />
<PackageReference Include="EasyMicroservices.UI.Cores.Mvvm" Version="0.0.0.13" />
</ItemGroup>

</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -85,16 +85,6 @@ await _citiyClient.AddAsync(new CreateCityRequestContract()
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 UpdateCity()

Check warning on line 88 in src/CSharp/Cores/EasyMicroservices.UI.Places.ViewModels/ViewModels/Cities/AddOrUpdateCityViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCityViewModel.UpdateCity()'

Check warning on line 88 in src/CSharp/Cores/EasyMicroservices.UI.Places.ViewModels/ViewModels/Cities/AddOrUpdateCityViewModel.cs

View workflow job for this annotation

GitHub Actions / os-tests

Missing XML comment for publicly visible type or member 'AddOrUpdateCityViewModel.UpdateCity()'

Check warning on line 88 in src/CSharp/Cores/EasyMicroservices.UI.Places.ViewModels/ViewModels/Cities/AddOrUpdateCityViewModel.cs

View workflow job for this annotation

GitHub Actions / build-test-prep-push

Missing XML comment for publicly visible type or member 'AddOrUpdateCityViewModel.UpdateCity()'
{
await _citiyClient.UpdateChangedValuesOnlyAsync(new UpdateCityRequestContract()
Expand Down Expand Up @@ -128,7 +118,7 @@ public async Task LoadConfig()
{
var items = await _provinceClient.GetAllByLanguageAsync(new GetByLanguageRequestContract()
{
Language = "fa-IR"
LanguageShortName = "fa-IR"
}).AsCheckedResult(x=>x.Result);
Provinces = items;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public async Task Search()
IsDeleted = false,
Index = Index,
Length = Length,
SortColumnNames = SortColumnNames
}).AsCheckedResult(x => (x.Result, x.TotalCount));

Cities.Clear();
Expand All @@ -67,16 +66,6 @@ await _cityClient.SoftDeleteByIdAsync(new Int64SoftDeleteRequestContract()
Cities.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);
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -68,16 +68,6 @@ await _citiyClient.AddAsync(new CreateCountryRequestContract()
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 UpdateCountry()
{
await _citiyClient.UpdateChangedValuesOnlyAsync(new UpdateCountryRequestContract()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public async Task Search()
IsDeleted = false,
Index = Index,
Length = Length,
SortColumnNames = SortColumnNames
}).AsCheckedResult(x => (x.Result, x.TotalCount));

Countries.Clear();
Expand All @@ -67,16 +66,6 @@ await _countryClient.SoftDeleteByIdAsync(new Int64SoftDeleteRequestContract()
Countries.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);
}
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -88,21 +88,11 @@ public async Task LoadConfig()
{
var items = await _countryClient.GetAllByLanguageAsync(new GetByLanguageRequestContract()
{
Language = "fa-IR"
LanguageShortName = "fa-IR"
}).AsCheckedResult(x => x.Result);
Countries = items;
}

public override Task OnError(Exception exception)
{
return base.OnError(exception);
}

public override Task DisplayFetchError(ServiceContracts.ErrorContract errorContract)
{
return base.DisplayFetchError(errorContract);
}

public async Task UpdateProvince()
{
await _citiyClient.UpdateChangedValuesOnlyAsync(new UpdateProvinceRequestContract()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ public async Task Search()
IsDeleted = false,
Index = Index,
Length = Length,
SortColumnNames = SortColumnNames
}).AsCheckedResult(x => (x.Result, x.TotalCount));

Provinces.Clear();
Expand All @@ -67,16 +66,6 @@ await _provinceClient.SoftDeleteByIdAsync(new Int64SoftDeleteRequestContract()
Provinces.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);
}
}
}

0 comments on commit db1f71e

Please sign in to comment.