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

21 lines
731 B
C#
Raw Permalink Normal View History

2024-04-18 21:44:46 +04:00
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);
}
}