2024-04-27 19:02:25 +04:00
|
|
|
|
using LawFimDataModels.Models;
|
|
|
|
|
using LawFirmContracts.BindingModels;
|
|
|
|
|
using LawFirmContracts.SearchModels;
|
|
|
|
|
using LawFirmContracts.ViewModels;
|
2024-04-19 16:15:01 +04:00
|
|
|
|
|
|
|
|
|
namespace LawFirmContracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IHearingLogic
|
|
|
|
|
{
|
|
|
|
|
List<HearingViewModel>? ReadList(HearingSearchModel? model);
|
|
|
|
|
HearingViewModel? ReadElement(HearingSearchModel model);
|
|
|
|
|
bool Create(HearingBindingModel model);
|
|
|
|
|
bool Update(HearingBindingModel model);
|
|
|
|
|
bool Delete(HearingBindingModel model);
|
|
|
|
|
bool AddLawyerToHearing(HearingSearchModel model, ILawyerModel client);
|
|
|
|
|
}
|
|
|
|
|
}
|