using CaseAccountingContracts.BindingModels; using CaseAccountingContracts.SearchModels; using CaseAccountingContracts.StoragesContracts; using CaseAccountingContracts.ViewModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace CaseAccountingDataBaseImplement.Implements { public class HearingStorage : IHearingStorage { public HearingViewModel? Delete(HearingBindingModel model) { throw new NotImplementedException(); } public HearingViewModel? GetElement(HearingSearchModel model) { throw new NotImplementedException(); } public List GetFilteredList(HearingSearchModel model) { throw new NotImplementedException(); } public List GetFullList() { using var context = new CaseAccountingDatabase(); return context.Hearings.Select(x => x.GetViewModel).ToList(); } public HearingViewModel? Insert(HearingBindingModel model) { throw new NotImplementedException(); } public HearingViewModel? Update(HearingBindingModel model) { throw new NotImplementedException(); } } }