mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-07-29 00:18:39 +00:00
Add support for dismissing cases
This commit is contained in:
parent
1996c1cdbb
commit
96e8c7f71e
6 changed files with 86 additions and 10 deletions
|
@ -31,6 +31,8 @@ public class CasePage : BaseLayout
|
|||
this.SearchValue = name.Replace(" ", string.Empty);
|
||||
|
||||
this.Cases = await this.Database.Cases
|
||||
.Include(c => c.Creator)
|
||||
.Include(c => c.Dismisser)
|
||||
.OrderByDescending(c => c.CaseId)
|
||||
.ToListAsync();
|
||||
this.CaseCount = await this.Database.Cases.CountAsync(c => c.Description.Contains(this.SearchValue));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue