PIbd23_Ivanova_Yakobchuk_Co.../LawCompany/LawCompanyContracts/BusinessLogicContracts/IConsultationLogic.cs

17 lines
624 B
C#
Raw Normal View History

2024-05-01 23:48:28 +04:00
using LawCompanyDataModels.Models;
using LawCompanyContracts.BindingModels;
using LawCompanyContracts.SearchModels;
using LawCompanyContracts.ViewModels;
namespace LawCompanyContracts.BusinessLogicContracts
{
2024-05-01 23:48:28 +04:00
public interface IConsultationLogic
{
List<ConsultationViewModel>? ReadList(ConsultationSearchModel? model);
ConsultationViewModel? ReadElement(ConsultationSearchModel model);
bool Create(ConsultationBindingModel model);
bool Update(ConsultationBindingModel model);
bool Delete(ConsultationBindingModel model);
bool AddLawyerToConsultation(ConsultationSearchModel model, ILawyerModel lawyer);
}
}