diff --git a/src/Authentication/Services/SystemUserService.cs b/src/Authentication/Services/SystemUserService.cs index 30fb4de3..0b69f897 100644 --- a/src/Authentication/Services/SystemUserService.cs +++ b/src/Authentication/Services/SystemUserService.cs @@ -33,7 +33,7 @@ public Task CreateSystemUser(SystemUser request) { if (int.Parse(request.OwnedByPartyId) < 1) { - return null; + return Task.FromResult(null); } theMockList.Add(request); @@ -48,7 +48,7 @@ public Task> GetListOfSystemUsersPartyHas(int partyId) { if (partyId < 1) { - return null; + return Task.FromResult>(null); } return Task.FromResult(theMockList);