Case_accounting/CaseAccounting/CaseAccountingContracts/StoragesContracts/ICaseStorage.cs
2023-05-20 05:04:42 +04:00

25 lines
829 B
C#

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);
List<HearingViewModel> GetCaseHearings(CaseSearchModel model);
List<SpecializationCasesViewModel>? GetSpecializationCases();
}
}