diff --git a/src/presentation/DigitalData.MessagingService.API/Controllers/EmailController.cs b/src/presentation/DigitalData.MessagingService.API/Controllers/EmailController.cs index 720949c..97913db 100644 --- a/src/presentation/DigitalData.MessagingService.API/Controllers/EmailController.cs +++ b/src/presentation/DigitalData.MessagingService.API/Controllers/EmailController.cs @@ -113,21 +113,5 @@ public class EmailController(IMediator mediator) : ControllerBase else return Ok(emails); } - - /// - /// Mark a single IMAP message as seen (read). - /// - /// The command containing the mailbox account identifier and the unique identifier (UID) of the message to mark as seen. - /// Cancellation token. - /// HTTP 204 No Content. - [HttpPatch("seen")] - [ProducesResponseType(StatusCodes.Status204NoContent)] - [ProducesResponseType(StatusCodes.Status400BadRequest)] - [ProducesResponseType(StatusCodes.Status404NotFound)] - public async Task MarkAsSeen([FromRoute] MarkEmailAsSeenCommand command, CancellationToken cancellationToken = default) - { - await mediator.Send(command, cancellationToken); - return NoContent(); - } #endregion Receive }