migrare UI in WebAssembly + integrare Serviciu stocare info pe web + WebToken
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using HealthcareManagerUiWebAssem.Models;
|
||||
|
||||
namespace HealthcareManagerUiWebAssem.Services.Http;
|
||||
|
||||
public interface IRequestHttpService
|
||||
{
|
||||
Task<BaseResponse> GetAsync(string uri, IDictionary<string, string> headers = null);
|
||||
|
||||
Task<BaseResponse> GetByIdAsync(string uri, Guid id, IDictionary<string, string> headers = null);
|
||||
Task<BaseResponse> PostAsync(string uri, object data, IDictionary<string, string> headers = null);
|
||||
|
||||
Task<BaseResponse> PutAsync(string uri, object data, IDictionary<string, string> headers = null);
|
||||
|
||||
Task<BaseResponse> DeleteAsync(string uri, Guid id, IDictionary<string, string> headers = null);
|
||||
}
|
||||
Reference in New Issue
Block a user