generic estimate
This commit is contained in:
parent
ddff760c41
commit
86091990c5
6 changed files with 6016 additions and 442 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue