PIbd-23_Yakobchuk_S.V._SUBD/ConstructionCompany/ConstructionCompanyContracts/BusinessLogicsContracts/IBuildingLogic.cs

17 lines
551 B
C#

using ConstructionCompanyContracts.BindingModels;
using ConstructionCompanyContracts.SearchModels;
using ConstructionCompanyContracts.ViewModels;
namespace ConstructionCompanyContracts.BusinessLogicsContracts
{
public interface IBuildingLogic
{
List<BuildingViewModel>? ReadList(BuildingSearchModel? model);
BuildingViewModel? ReadElement(BuildingSearchModel model);
bool Create(BuildingBindingModel model);
bool Update(BuildingBindingModel model);
bool Delete(BuildingBindingModel model);
}
}