- create separate dashboard components for doctor and patient - add appointments to dashboard components - add code to backend for appointments retrieval
14 lines
430 B
C#
14 lines
430 B
C#
using HealthcareManagerUiWebAssem.Models;
|
|
|
|
namespace HealthcareManagerUiWebAssem.Services.Appointment;
|
|
|
|
public interface IAppointmentService
|
|
{
|
|
Task<BaseResponse> GetAppointmentsByPatient(Guid patientId);
|
|
|
|
Task<BaseResponse> GetAppointmentsByDoctor(Guid doctorId);
|
|
|
|
Task<BaseResponse> CreateAppointment(AppointmentManagementModel model);
|
|
|
|
Task<BaseResponse> DeleteAppointment(AppointmentManagementModel model);
|
|
} |