Add ReadResultViewQuery and clean up DTO namespace

Introduced ReadResultViewQuery for querying result views with optional filters (Id, ActionId, ProfileId). Cleaned up ResultViewDto.cs by removing an unused using directive and reformatting the namespace declaration. Added necessary usings to support the new query.
This commit is contained in:
2025-12-15 17:05:49 +01:00
parent 99c50fb348
commit 62612897bd
2 changed files with 14 additions and 3 deletions

View File

@@ -1,6 +1,4 @@
using ReC.Domain.Entities;
namespace ReC.Application.Common.Dto;
namespace ReC.Application.Common.Dto;
public record ResultViewDto
{

View File

@@ -0,0 +1,13 @@
using MediatR;
using ReC.Application.Common.Dto;
namespace ReC.Application.ResultViews.Queries;
public record ReadResultViewQuery : IRequest<IEnumerable<ResultViewDto>>
{
public long? Id { get; init; } = null;
public long? ActionId { get; init; } = null;
public long? ProfileId { get; init; } = null;
}