2024-05-01 23:48:28 +04:00
|
|
|
|
using LawCompanyDataModels.Models;
|
|
|
|
|
using LawCompanyContracts.BindingModels;
|
2024-05-01 01:54:08 +04:00
|
|
|
|
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);
|
|
|
|
|
}
|
2024-05-01 01:54:08 +04:00
|
|
|
|
}
|