Browse Source
Update src/PublicApi/CatalogItemEndpoints/Create.cs
Co-authored-by: David Pine <david.pine@microsoft.com>
main
Sumit Ghosh
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
2 deletions
-
src/PublicApi/CatalogItemEndpoints/Create.cs
|
|
@ -49,8 +49,7 @@ namespace Microsoft.eShopWeb.PublicApi.CatalogItemEndpoints |
|
|
// - BlazorAdmin project -> Create.razor and Edit.razor.
|
|
|
// - BlazorAdmin project -> Create.razor and Edit.razor.
|
|
|
// - Infrastructure project -> Services/WebFileSystem.cs
|
|
|
// - Infrastructure project -> Services/WebFileSystem.cs
|
|
|
|
|
|
|
|
|
var picName = "eCatalog-item-default.png"; |
|
|
newItem.UpdatePictureUri("eCatalog-item-default.png"); |
|
|
newItem.UpdatePictureUri(picName); |
|
|
|
|
|
await _itemRepository.UpdateAsync(newItem, cancellationToken); |
|
|
await _itemRepository.UpdateAsync(newItem, cancellationToken); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|