PIbd-22_Fedorenko_Puchkina_.../LawFim/LawFirmContracts/BusinessLogicContracts/IVisitLogic.cs

18 lines
584 B
C#
Raw Normal View History

2024-04-18 21:44:46 +04:00
using LawFimDataModels.Models;
using LawFirmContracts.BindingModels;
using LawFirmContracts.SearchModels;
using LawFirmContracts.ViewModels;
namespace LawFirmContracts.BusinessLogicContracts
{
public interface IVisitLogic
{
List<VisitViewModel>? ReadList(VisitSearchModel? model);
VisitViewModel? ReadElement(VisitSearchModel model);
bool Create(VisitBindingModel model);
bool Update(VisitBindingModel model);
bool Delete(VisitBindingModel model);
bool AddClientToVisit(VisitSearchModel model, IClientModel client);
}
}