Removed string.Format()s
This commit is contained in:
parent
9ba004187d
commit
4791be9298
@ -25,7 +25,7 @@ namespace eShopOnContainers.Core.Services.Catalog
|
||||
public async Task<ObservableCollection<CatalogItem>> FilterAsync(int catalogBrandId, int catalogTypeId)
|
||||
{
|
||||
UriBuilder builder = new UriBuilder(GlobalSetting.Instance.BaseEndpoint);
|
||||
builder.Path = string.Format($"{ApiUrlBase}/items/type/{0}/brand/{1}", catalogTypeId, catalogBrandId);
|
||||
builder.Path = $"{ApiUrlBase}/items/type/{catalogTypeId}/brand/{catalogBrandId}";
|
||||
string uri = builder.ToString();
|
||||
|
||||
CatalogRoot catalog = await _requestProvider.GetAsync<CatalogRoot>(uri);
|
||||
|
@ -44,7 +44,7 @@ namespace eShopOnContainers.Core.Services.Order
|
||||
{
|
||||
UriBuilder builder = new UriBuilder(GlobalSetting.Instance.BaseEndpoint);
|
||||
|
||||
builder.Path = string.Format($"{ApiUrlBase}/{0}", orderId);
|
||||
builder.Path = $"{ApiUrlBase}/{orderId}";
|
||||
|
||||
string uri = builder.ToString();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user