PIbd-23_Yakobchuk_S.V._SUBD/ConstructionCompany/ConstructionCompanyContracts/StoragesContracts/IStructureStorage.cs

18 lines
652 B
C#

using ConstructionCompanyContracts.BindingModels;
using ConstructionCompanyContracts.SearchModels;
using ConstructionCompanyContracts.ViewModels;
namespace ConstructionCompanyContracts.StoragesContracts
{
public interface IStructureStorage
{
List<StructureViewModel> GetFullList();
List<StructureViewModel> GetFilteredList(StructureSearchModel model);
StructureViewModel? GetElement(StructureSearchModel model);
StructureViewModel? Insert(StructureBindingModel model);
StructureViewModel? Update(StructureBindingModel model);
StructureViewModel? Delete(StructureBindingModel model);
}
}