79619184

Date: 2025-05-13 07:56:44
Score: 1
Natty:
Report link

I just figured out the answer to the problem. I just added CancellationToken argument to the functions:

From:

private async Task<IEnumerable<Account>> SearchAcc(string value) {...}
private async Task<IEnumerable<Role>> SearchRole(string value) {...}

To:

private async Task<IEnumerable<Account>> SearchAcc(string value, CancellationToken token) {...}
private async Task<IEnumerable<Role>> SearchRole(string value, CancellationToken token) {...}
Reasons:
  • Has code block (-0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Remar10