- 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
8 lines
164 B
C#
8 lines
164 B
C#
namespace SIGCM2.Application.Secciones.Create;
|
|
|
|
public sealed record CreateSeccionCommand(
|
|
int MedioId,
|
|
string Codigo,
|
|
string Nombre,
|
|
string Tipo);
|