111
This commit is contained in:
parent
640f20729e
commit
5f52096f03
@ -300,13 +300,9 @@ namespace asg_form.Controllers.Teamregistration
|
|||||||
}
|
}
|
||||||
using (TestDbContext sub = new TestDbContext())
|
using (TestDbContext sub = new TestDbContext())
|
||||||
{
|
{
|
||||||
var query = sub.T_Comform.AsQueryable()
|
var query = await sub.T_Comform.FirstOrDefaultAsync(n => n.id == Id);
|
||||||
.Where(n => n.id == Id)
|
|
||||||
.OrderByDescending(a => a.user_id);
|
|
||||||
|
|
||||||
var result = await query.ToListAsync();
|
return Ok(new { code = 200, data = query });
|
||||||
|
|
||||||
return Ok(new { code = 200, data = result });
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user