Loads of stuff, deletion works, SignalR working

This commit is contained in:
MiskolcziRichard
2024-04-28 18:01:14 +02:00
parent 93983993eb
commit a8123e7c7d
5 changed files with 191 additions and 37 deletions

View File

@@ -183,7 +183,7 @@ namespace WD7UVN_SzTGUI_2023242.Client.WPF
public async Task DeleteAsync(int id, string endpoint)
{
HttpResponseMessage response =
await client.DeleteAsync(endpoint + "/" + id.ToString());
await client.DeleteAsync("api/" + endpoint + "/" + id.ToString());
if (!response.IsSuccessStatusCode)
{