This commit is contained in:
parent
083fd6832e
commit
9c2831ae58
1 changed files with 0 additions and 2 deletions
|
@ -90,8 +90,6 @@ public class AdminController(
|
||||||
[ProducesResults(HttpStatusCode.OK)]
|
[ProducesResults(HttpStatusCode.OK)]
|
||||||
public void SetReportState(ReportsQuery query)
|
public void SetReportState(ReportsQuery query)
|
||||||
{
|
{
|
||||||
var user = HttpContext.GetUserOrFail();
|
|
||||||
|
|
||||||
foreach (var list in query.Reports)
|
foreach (var list in query.Reports)
|
||||||
{
|
{
|
||||||
var report = db.Reports.FirstOrDefault(p => p.Id == list.Id)
|
var report = db.Reports.FirstOrDefault(p => p.Id == list.Id)
|
||||||
|
|
Loading…
Add table
Reference in a new issue