Added tasks and added await on get groups

This commit is contained in:
CakeAndBanana
2025-09-25 03:34:59 +02:00
parent e8f8512cdd
commit 37c11e9d73
2 changed files with 17 additions and 1 deletions

View File

@@ -104,7 +104,7 @@ namespace LightlessSync.UI
try try
{ {
_allSyncshells = await _apiController.GroupsGetAll(); _allSyncshells = await _apiController.GroupsGetAll().ConfigureAwait(false);
} }
catch (Exception ex) catch (Exception ex)
{ {

View File

@@ -2,6 +2,7 @@
using LightlessSync.API.Data; using LightlessSync.API.Data;
using LightlessSync.API.Data.Extensions; using LightlessSync.API.Data.Extensions;
using LightlessSync.API.Dto; using LightlessSync.API.Dto;
using LightlessSync.API.Dto.Group;
using LightlessSync.API.Dto.User; using LightlessSync.API.Dto.User;
using LightlessSync.API.SignalR; using LightlessSync.API.SignalR;
using LightlessSync.LightlessConfiguration; using LightlessSync.LightlessConfiguration;
@@ -596,5 +597,20 @@ public sealed partial class ApiController : DisposableMediatorSubscriberBase, IL
ServerState = state; ServerState = state;
} }
public Task Client_GroupSendProfile(GroupProfileDto groupInfo)
{
throw new NotImplementedException();
}
public Task<GroupProfileDto> GroupGetProfile(GroupDto dto)
{
throw new NotImplementedException();
}
public Task GroupSetProfile(GroupProfileDto dto)
{
throw new NotImplementedException();
}
} }
#pragma warning restore MA0040 #pragma warning restore MA0040