show performer device usage
This commit is contained in:
parent
6c9db7d837
commit
17935605c8
2 changed files with 9 additions and 3 deletions
|
|
@ -48,7 +48,8 @@ namespace Yavsc.Controllers
|
|||
a => a.Code == id);
|
||||
|
||||
return View(
|
||||
_context.Performers.Include(p => p.Performer).Where
|
||||
_context.Performers.Include(p => p.Performer)
|
||||
.Include(p=>p.Performer.Devices).Where
|
||||
(p => p.ActivityCode == id && p.Active).OrderBy(
|
||||
x => x.MinDailyCost
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue