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

17 lines
669 B
C#
Raw Normal View History

using LawCompanyContracts.BindingModels;
using LawCompanyDataModels.Models;
using LawCompanyContracts.SearchModels;
using LawCompanyContracts.ViewModels;
namespace LawCompanyContracts.BusinessLogicContracts
{
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);
}
}