- create separate dashboard components for doctor and patient - add appointments to dashboard components - add code to backend for appointments retrieval
17 lines
754 B
C#
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);
|
|
} |