2024-05-14 23:49:46 +04:00
|
|
|
|
using MedicalDatabaseContracts;
|
|
|
|
|
using MedicalDatabaseContracts.Models;
|
|
|
|
|
using MedicalDatabaseContracts.SearchModels;
|
|
|
|
|
using MedicalDatabaseContracts.ViewModels;
|
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
|
|
|
|
|
namespace MedicalBusinessLogic.BusinessLogics
|
|
|
|
|
{
|
|
|
|
|
public class VisitLogic : ILogic<Visit, VisitViewModel, VisitSearchModel>
|
|
|
|
|
{
|
|
|
|
|
private readonly IStorage<Visit> _visitStorage;
|
|
|
|
|
private readonly ILogger<VisitLogic> _logger;
|
|
|
|
|
|
|
|
|
|
public VisitLogic(IStorage<Visit> visitStorage, ILogger<VisitLogic> logger)
|
|
|
|
|
{
|
|
|
|
|
_visitStorage = visitStorage;
|
|
|
|
|
_logger = logger;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public bool Create(Visit model)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public bool Delete(Visit model)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
2024-05-14 23:57:22 +04:00
|
|
|
|
public VisitViewModel? ReadElement(int id)
|
2024-05-14 23:49:46 +04:00
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public List<VisitViewModel>? ReadList(VisitSearchModel? searchModel)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public bool Update(Visit model)
|
|
|
|
|
{
|
|
|
|
|
throw new NotImplementedException();
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|