PIbd23_Ivanova_Yakobchuk_Co.../LawCompany/LawCompanyContracts/BusinessLogicContracts/IHearingLogic.cs

18 lines
575 B
C#

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