User settings

This commit is contained in:
Paul Schneider 2025-02-24 23:29:48 +00:00
commit b9ba97f5e8
16 changed files with 75 additions and 66 deletions

View file

@ -22,9 +22,9 @@ namespace Yavsc.ApiControllers
}
[HttpGet("profiles/{actCode}")]
IEnumerable<PerformerProfileViewModel> Profiles(string actCode)
async Task <IEnumerable<PerformerProfileViewModel>> Profiles(string actCode)
{
return dbContext.ListPerformers(billing, actCode);
return await dbContext.ListPerformersAsync(billing, actCode);
}
[HttpPost("query/reject")]
@ -39,7 +39,8 @@ namespace Yavsc.ApiControllers
dbContext.SaveChanges();
return Ok();
}
[HttpPost("query/reject")]
[HttpPost("query/reject")]
public IActionResult AcceptQuery(string billingCode, long queryId)
{
if (billingCode == null) return BadRequest("billingCode");