-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
refactor(todos): remove obsolete Todo command and handler files
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Domain.Elevators; | ||
using MediatR; | ||
using Microsoft.Extensions.Logging; | ||
|
||
namespace Application.Elevators.Request; | ||
|
||
internal sealed class ElevatorUpdatedDomainEventHandler(ILogger<ElevatorUpdatedDomainEventHandler> logger) : INotificationHandler<ElevatorUpdatedDomainEvent> | ||
{ | ||
public Task Handle(ElevatorUpdatedDomainEvent notification, CancellationToken cancellationToken) | ||
{ | ||
logger.LogInformation("Elevator updated with the following state: {@Elevator}", notification.Elevator); | ||
return Task.CompletedTask; | ||
} | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
using Domain.Common; | ||
|
||
namespace Domain.Elevators; | ||
|
||
/// <summary> Domain event for when an elevator is updated. </summary> | ||
public record ElevatorUpdatedDomainEvent(Elevator Elevator) : IDomainEvent; | ||
|
||
|
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.