generic estimate

This commit is contained in:
Paul Schneider 2026-09-12 12:59:44 +01:00
commit 86091990c5
Signed by: notazof
GPG key ID: 1DD5D838E5343B06
6 changed files with 6016 additions and 442 deletions

View file

@ -125,7 +125,8 @@ namespace Yavsc.Controllers
if (estimate.CommandId != null)
{
var query = _context.RdvQueries.FirstOrDefault(q => q.Id == estimate.CommandId);
var query = _context.Set<NominativeServiceCommand>()
.FirstOrDefault(q => q.Id == estimate.CommandId);
if (query == null)
{
return BadRequest(ModelState);