Изменил сигнатуру метода удаления элемента в интерфейсе логики

This commit is contained in:
Никита Потапов 2024-05-14 23:59:01 +04:00
parent 1d1d060b25
commit 084341f220
6 changed files with 6 additions and 6 deletions

View File

@ -22,7 +22,7 @@ namespace MedicalBusinessLogic.BusinessLogics
throw new NotImplementedException();
}
public bool Delete(Diagnose model)
public bool Delete(int id)
{
throw new NotImplementedException();
}

View File

@ -22,7 +22,7 @@ namespace MedicalBusinessLogic.BusinessLogics
throw new NotImplementedException();
}
public bool Delete(Doctor model)
public bool Delete(int id)
{
throw new NotImplementedException();
}

View File

@ -22,7 +22,7 @@ namespace MedicalBusinessLogic.BusinessLogics
throw new NotImplementedException();
}
public bool Delete(Patient model)
public bool Delete(int id)
{
throw new NotImplementedException();
}

View File

@ -22,7 +22,7 @@ namespace MedicalBusinessLogic.BusinessLogics
throw new NotImplementedException();
}
public bool Delete(Specialization model)
public bool Delete(int id)
{
throw new NotImplementedException();
}

View File

@ -22,7 +22,7 @@ namespace MedicalBusinessLogic.BusinessLogics
throw new NotImplementedException();
}
public bool Delete(Visit model)
public bool Delete(int id)
{
throw new NotImplementedException();
}

View File

@ -13,6 +13,6 @@ namespace MedicalDatabaseContracts
V? ReadElement(int id);
bool Create(M model);
bool Update(M model);
bool Delete(M model);
bool Delete(int id);
}
}