The Estimate is validated
This commit is contained in:
parent
027c0e1a03
commit
99a8707504
20 changed files with 5392 additions and 218 deletions
|
|
@ -125,7 +125,7 @@ namespace Yavsc.Controllers
|
|||
|
||||
if (estimate.CommandId != null)
|
||||
{
|
||||
var query = _context.Set<NominativeServiceCommand>()
|
||||
var query = _context.NominativeServiceCommands
|
||||
.FirstOrDefault(q => q.Id == estimate.CommandId);
|
||||
if (query == null)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue