wip item images
This commit is contained in:
@@ -16,9 +16,10 @@ public class ConfirmCreateItemHandler(IMediator mediator,
|
||||
if (headerConfiguration.Name is { Length: > 0 } name &&
|
||||
headerConfiguration.Category is { Length: > 0 } category)
|
||||
{
|
||||
IImageDescriptor? imageDescriptor = headerConfiguration.ImageDescriptor;
|
||||
Guid id = Guid.NewGuid();
|
||||
|
||||
Item<(Guid, string)> item = new((id, name));
|
||||
Item<(Guid, string, string, IImageDescriptor?)> item = new((id, name, category, imageDescriptor));
|
||||
publisher.Publish(Created.As(item));
|
||||
|
||||
await mediator.Handle<CreateEventArgs<(Guid, string, string,
|
||||
|
||||
Reference in New Issue
Block a user