fix: Parameter in den ReadAllAsync-Methoden in UserRepController und UserRepService explizit benennen

This commit is contained in:
Developer 02
2024-11-06 14:57:14 +01:00
parent 616862391e
commit deacd1a8c6
2 changed files with 4 additions and 3 deletions

View File

@@ -19,13 +19,14 @@ namespace DigitalData.UserManager.API.Controllers
{
return base.GetAll();
}
[HttpGet]
public async Task<IActionResult> GetAll(bool withUser = false, bool withRepGroup = false, bool withGroup = false, bool withRepUser = false, int? userId = null, int? groupId = null)
{
try
{
return await _service.ReadAllAsync(withUser, withRepGroup, withGroup, withRepUser, userId, groupId).ThenAsync(Ok, IActionResult (m, n) =>
return await _service.ReadAllAsync(withUser: withUser, withRepGroup: withRepGroup, withGroup: withGroup, withRepUser: withRepUser,
userId: userId, groupId: groupId).ThenAsync(Ok, IActionResult (m, n) =>
{
_logger.LogNotice(n);
return NotFound();