* Turned off Login as it is not working

This commit is contained in:
2025-03-01 06:35:28 +01:00
parent b8fbb789ad
commit f321677447
19 changed files with 122 additions and 154 deletions

View File

@@ -15,7 +15,7 @@ public class ServiceBase<T> where T : class
protected async Task<IEnumerable<T>?> GetListAsync(string request)
{
Configure();
//Configure();
var response = await _httpClient.GetAsync(request);
response.EnsureSuccessStatusCode();
@@ -24,7 +24,7 @@ public class ServiceBase<T> where T : class
protected async Task<T?> GetEntityAsync(string request)
{
Configure();
//Configure();
var response = await _httpClient.GetAsync(request);
response.EnsureSuccessStatusCode();
@@ -33,7 +33,7 @@ public class ServiceBase<T> where T : class
protected async Task<HttpResponseMessage> PostAsync(string request)
{
Configure();
//Configure();
var response = await _httpClient.PostAsync(request, null);
response.EnsureSuccessStatusCode();
@@ -42,7 +42,7 @@ public class ServiceBase<T> where T : class
protected async Task<HttpResponseMessage> PostAsJsonAsync(string request, T obj)
{
Configure();
//Configure();
var response = await _httpClient.PostAsJsonAsync(request, obj);
response.EnsureSuccessStatusCode();
@@ -51,7 +51,7 @@ public class ServiceBase<T> where T : class
protected async Task<HttpResponseMessage> PostAsJsonAsync(string request, object obj)
{
Configure();
//Configure();
var response = await _httpClient.PostAsJsonAsync(request, obj);
response.EnsureSuccessStatusCode();
@@ -60,7 +60,7 @@ public class ServiceBase<T> where T : class
protected async Task<HttpResponseMessage> PutAsJsonAsync(string request, T obj)
{
Configure();
//Configure();
var response = await _httpClient.PutAsJsonAsync(request, obj);
response.EnsureSuccessStatusCode();
@@ -69,7 +69,7 @@ public class ServiceBase<T> where T : class
protected async Task<HttpResponseMessage> DeleteAsync(string request)
{
Configure();
//Configure();
var response = await _httpClient.DeleteAsync(request);
response.EnsureSuccessStatusCode();