medicalHistory: deletion when patient is deleted
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
namespace Application.Services.Database;
|
||||
|
||||
public interface IConversationRepository
|
||||
{
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
using Core.Entities;
|
||||
|
||||
namespace Application.Services.Database;
|
||||
namespace Application.Services.Database.PostgreSQL;
|
||||
|
||||
public interface IDoctorRepository
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Core.Entities;
|
||||
|
||||
namespace Application.Services.Database;
|
||||
namespace Application.Services.Database.PostgreSQL;
|
||||
|
||||
public interface IMedicalHistoryRepository
|
||||
{
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
using Core.Entities;
|
||||
|
||||
namespace Application.Services.Database;
|
||||
namespace Application.Services.Database.PostgreSQL;
|
||||
|
||||
public interface IPatientRepository
|
||||
{
|
||||
@@ -10,9 +10,9 @@ public interface IPatientRepository
|
||||
|
||||
Task<Patient?> FindByEmailAsync(string email);
|
||||
|
||||
Task UpdateAsync(Patient doctor);
|
||||
Task UpdateAsync(Patient patient);
|
||||
|
||||
Task DeleteAsync(Patient doctor);
|
||||
Task DeleteAsync(Patient patient);
|
||||
|
||||
Task<IEnumerable<Patient>> GetAllAsync();
|
||||
}
|
||||
Reference in New Issue
Block a user