Files
FACULTATE-HEALTHCARE_MANAGER/frontend/Services/Http/IRequestHttpService.cs
T
ElenitaMLG 7e38d60802 Dashboard Page - Appointments:
- create separate dashboard components for doctor and patient
- add appointments to dashboard components
- add code to backend for appointments retrieval
2024-04-30 12:48:19 +03:00

17 lines
754 B
C#

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);
Task<BaseResponse> DeleteByFilterAsync(string uri, object data, IDictionary<string, string> headers = null);
}