PIbd23_Ivanova_Yakobchuk_Co.../LawCompany/LawCompanyContracts/BusinessLogicContracts/IVisitLogic.cs

18 lines
555 B
C#
Raw Normal View History

2024-05-01 00:49:33 +04:00
using LawCompanyDataModels.Models;
using LawCompanyContracts.BindingModels;
using LawCompanyContracts.SearchModels;
using LawCompanyContracts.ViewModels;
namespace LawCompanyContracts.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);
}
}