47 lines
1.3 KiB
C#
47 lines
1.3 KiB
C#
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<HearingViewModel> GetFilteredList(HearingSearchModel model)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
public List<HearingViewModel> 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();
|
|
}
|
|
}
|
|
}
|