medicalHistory: deletion when patient is deleted
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Application.Endpoints.MedicalHistories;
|
||||
using MongoDB.Driver;
|
||||
using MongoDB.Driver;
|
||||
|
||||
namespace Application.Services.Database.MongoDB;
|
||||
|
||||
@@ -14,6 +13,6 @@ public interface IMedicalHistoryMongoDbService
|
||||
Task ModifyAsync<T>(string keyField, string keyValue, T document);
|
||||
|
||||
Task DeleteAsync<T>(string keyField, string keyValue);
|
||||
|
||||
|
||||
Task DeleteByIdAsync<T>(string id);
|
||||
}
|
||||
Reference in New Issue
Block a user