refactoring
This commit is contained in:
parent
3043646ee8
commit
1e6c1d15db
57 changed files with 3368 additions and 248 deletions
|
|
@ -126,7 +126,7 @@ namespace Yavsc.Controllers
|
|||
}
|
||||
}
|
||||
if (estimate.CommandId!=null) {
|
||||
var query = _context.BookQueries.FirstOrDefault(q => q.Id == estimate.CommandId);
|
||||
var query = _context.RdvQueries.FirstOrDefault(q => q.Id == estimate.CommandId);
|
||||
if (query == null || query.PerformerId!= uid)
|
||||
throw new InvalidOperationException();
|
||||
query.ValidationDate = DateTime.Now;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue