yavsc/doc
Paul Schneider 6aaff74082 fix(client-controller): single constructor with IHtmlLocalizer
The partial class ClientController had two constructors declared
across ClientController.cs and ClientController.Collections.cs.
ASP.NET Core DI failed to pick one at request time with:

  System.InvalidOperationException: Multiple constructors accepting
  all given argument types have been found in type
  'Yavsc.Controllers.ClientController'.

Move IHtmlLocalizer<ClientController> into the primary constructor
in ClientController.cs and drop the duplicate one in
ClientController.Collections.cs. The Collections partial now keeps
only its readonly field and action methods; the constructor and
field assignment are unified on the main file.

Also add the missing 'using Microsoft.AspNetCore.Mvc.Localization;'
to ClientController.cs so IHtmlLocalizer resolves.
2026-06-21 21:14:20 +01:00
..
dev-tracking fix(client-controller): single constructor with IHtmlLocalizer 2026-06-21 21:14:20 +01:00
Architecture.md synchro w\ main 2026-06-14 18:26:40 +01:00
ddd-exploration-2026-06-14.md synchro w\ main 2026-06-14 18:26:40 +01:00
Demande.md doc, doc and doc. 2026-06-18 02:18:49 +01:00
Dictionnaire.md doc cleanup 2026-06-20 19:00:10 +01:00
Formulaires-devis.md doc, doc and doc. 2026-06-18 02:18:49 +01:00
offer-sample.md doc, doc and doc. 2026-06-18 02:18:49 +01:00