Update src/PublicApi/CatalogItemEndpoints/Create.cs
Co-authored-by: David Pine <david.pine@microsoft.com>
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user