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

21 lines
731 B
C#

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