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

18 lines
584 B
C#

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);
}
}