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

18 lines
654 B
C#

using LawFimDataModels.Models;
using LawFirmContracts.BindingModels;
using LawFirmContracts.SearchModels;
using LawFirmContracts.ViewModels;
namespace LawFirmContracts.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);
}
}