- Replaced instances of the previous messaging system with LiteCqrs across various application components, enhancing the CQRS implementation. - Updated dependency injection to register LiteCqrs services and behaviors, streamlining command and query handling. - Adjusted multiple command and query handlers to align with the new messaging framework, ensuring consistent functionality and improved maintainability. - Added LiteCqrs package reference in the project file for better dependency management.
12 lines
291 B
C#
12 lines
291 B
C#
using LiteCqrs;
|
|
using PnvPanel.Application.Common.Models;
|
|
|
|
namespace PnvPanel.Application.Admin.Inbounds;
|
|
|
|
public sealed record PublishInboundCommand(
|
|
Guid InboundId,
|
|
bool IsPublished,
|
|
string? DisplayName,
|
|
IReadOnlyList<Guid> AllowedRoleIds
|
|
) : ICommand<Result<InboundDto>>;
|