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

18 lines
688 B
C#

using ConstructionCompanyContracts.BindingModels;
using ConstructionCompanyContracts.SearchModels;
using ConstructionCompanyContracts.ViewModels;
namespace ConstructionCompanyContracts.StoragesContracts
{
public interface IConstructionStorage
{
List<ConstructionViewModel> GetFullList();
List<ConstructionViewModel> GetFilteredList(ConstructionSearchModel model);
ConstructionViewModel? GetElement(ConstructionSearchModel model);
ConstructionViewModel? Insert(ConstructionBindingModel model);
ConstructionViewModel? Update(ConstructionBindingModel model);
ConstructionViewModel? Delete(ConstructionBindingModel model);
}
}