- IMedioRepository, ISeccionRepository interfaces - MediosQuery, SeccionesQuery common records - TipoSeccion static AllowedTipos helper - Medios: 6 use cases (Create/Update/Deactivate/Reactivate/List/GetById) with validators, handlers and DTOs - Secciones: 6 use cases mirroring Medios; Create validates MedioId active via IMedioRepository - 52 unit tests (xUnit + NSubstitute) all green; audit LogAsync asserted per mutating handler - DI registrations for all 12 handlers and validators auto-scanned via AddValidatorsFromAssemblyContaining
10 lines
231 B
C#
10 lines
231 B
C#
namespace SIGCM2.Application.Secciones.List;
|
|
|
|
public sealed record ListSeccionesQuery(
|
|
int Page = 1,
|
|
int PageSize = 20,
|
|
int? MedioId = null,
|
|
string? Tipo = null,
|
|
bool? Activo = true,
|
|
string? Search = null);
|