46 lines
1.2 KiB
C#

using MedicalDatabaseContracts;
using MedicalDatabaseContracts.Models;
using MedicalDatabaseContracts.SearchModels;
using MedicalDatabaseContracts.ViewModels;
using Microsoft.Extensions.Logging;
namespace MedicalBusinessLogic.BusinessLogics
{
public class PatientLogic : ILogic<Patient, PatientViewModel, PatientSearchModel>
{
private readonly IStorage<Patient> _patientStorage;
private readonly ILogger<PatientLogic> _logger;
public PatientLogic(IStorage<Patient> patientStorage, ILogger<PatientLogic> logger)
{
_patientStorage = patientStorage;
_logger = logger;
}
public bool Create(Patient model)
{
throw new NotImplementedException();
}
public bool Delete(int id)
{
throw new NotImplementedException();
}
public PatientViewModel? ReadElement(int id)
{
throw new NotImplementedException();
}
public List<PatientViewModel>? ReadList(PatientSearchModel? searchModel)
{
throw new NotImplementedException();
}
public bool Update(Patient model)
{
throw new NotImplementedException();
}
}
}