PIbd23_Ivanova_Yakobchuk_Co.../LawCompany/LawCompanyContracts/BusinessLogicContracts/ICaseLogic.cs

21 lines
684 B
C#

using LawCompanyDataModels.Models;
using LawCompanyContracts.BindingModels;
using LawCompanyContracts.SearchModels;
using LawCompanyContracts.ViewModels;
namespace LawCompanyContracts.BusinessLogicContracts
{
public interface ICaseLogic
{
List<CaseViewModel>? ReadList(CaseSearchModel? model);
CaseViewModel? ReadElement(CaseSearchModel model);
bool CreateCase(CaseBindingModel model);
bool CaseAnalysis(CaseBindingModel model);
bool CaseHearing(CaseBindingModel model);
bool CloseCase(CaseBindingModel model);
bool DeleteCase(CaseBindingModel model);
bool AddClientToCase(CaseSearchModel model, IClientModel client);
bool Update(CaseBindingModel model);
}
}