...
This commit is contained in:
@@ -81,5 +81,13 @@ namespace HushianWebApp.Service
|
||||
|
||||
return null;
|
||||
}
|
||||
public async Task<ChatItemDto?> Getchat(int ChatID)
|
||||
{
|
||||
var response = await _baseController.Get($"{BaseRoute}User/Chat/{ChatID}");
|
||||
if (response.StatusCode == System.Net.HttpStatusCode.OK)
|
||||
return await response.Content.ReadFromJsonAsync<ChatItemDto>();
|
||||
|
||||
return null;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user