Figyelmeztető üzenet javítása + hangjelzés

This commit is contained in:
2025-04-16 08:41:30 +02:00
parent ab86c845ab
commit 8815df06b3
6 changed files with 66 additions and 10 deletions
@@ -405,6 +405,27 @@ namespace WorkFlowCheck.MAUI.Services
}
return retVal;
}
public async Task<List<DeviceMessageDTO>> DeviceMessageReadUnreadedRole(int roleId)
{
string endpoint = $"{_httpClient.BaseAddress}api/Sync/DeviceMessageReadUnreadedRole/{roleId}";
var retVal = new List<DeviceMessageDTO>();
try
{
var response = await _httpClient.GetFromJsonAsync<ApiResponseDTO<List<DeviceMessageDTO>>>(endpoint);
if (response != null)
{
if (response.IsSuccess)
{
return response.Data;
}
}
}
catch (Exception ex)
{
}
return retVal;
}
public async Task<ApiResponseDTO<string>> SyncUsers_Up(Action<double, string> reportProgress)
{