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

18 lines
640 B
C#

using ConstructionCompanyContracts.BindingModels;
using ConstructionCompanyContracts.SearchModels;
using ConstructionCompanyContracts.ViewModels;
namespace ConstructionCompanyContracts.StoragesContracts
{
public interface IBuildingStorage
{
List<BuildingViewModel> GetFullList();
List<BuildingViewModel> GetFilteredList(BuildingSearchModel model);
BuildingViewModel? GetElement(BuildingSearchModel model);
BuildingViewModel? Insert(BuildingBindingModel model);
BuildingViewModel? Update(BuildingBindingModel model);
BuildingViewModel? Delete(BuildingBindingModel model);
}
}