2023-03-29 19:10:36 +04:00
|
|
|
|
using CaseAccountingContracts.BindingModels;
|
|
|
|
|
using CaseAccountingContracts.SearchModels;
|
|
|
|
|
using CaseAccountingContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace CaseAccountingContracts.StoragesContracts
|
|
|
|
|
{
|
|
|
|
|
public interface ICaseStorage
|
|
|
|
|
{
|
|
|
|
|
List<CaseViewModel> GetFullList();
|
|
|
|
|
List<CaseViewModel> GetFilteredList(CaseSearchModel model);
|
|
|
|
|
CaseViewModel? GetElement(CaseSearchModel model);
|
|
|
|
|
CaseViewModel? Insert(CaseBindingModel model);
|
|
|
|
|
CaseViewModel? Update(CaseBindingModel model);
|
|
|
|
|
CaseViewModel? Delete(CaseBindingModel model);
|
2023-05-20 01:21:33 +04:00
|
|
|
|
|
|
|
|
|
List<HearingViewModel> GetCaseHearings(CaseSearchModel model);
|
2023-05-20 05:04:42 +04:00
|
|
|
|
List<SpecializationCasesViewModel>? GetSpecializationCases();
|
2023-03-29 19:10:36 +04:00
|
|
|
|
}
|
|
|
|
|
}
|