using EnablementDAL.DTO; using FastEndpoints; namespace EnablementSL.Parameters.Show; // Record with exactly ONE [FromBody] property (binds the whole raw POST body to TShowDTO) plus // [FromHeader] Login — the proven-working shape (matches GetSelectListContent.Parameters in CMSSL, // and the original SaveTourShowParameters this endpoint was moved from). NOT the same shape as the // real ResolveShowParameters anti-pattern, which mixed one [FromBody] property with several other // un-attributed properties also expected to bind from the body on the same record — that ambiguity, // not "record + [FromBody]" itself, was the actual bug. public record SaveShowParameters( [property: FromHeader] string Login, [property: FromBody] TShowDTO TShowDTO );