2023-04-01 13:23:19 +04:00
|
|
|
|
using HardwareShopContracts.BindingModels;
|
|
|
|
|
using HardwareShopContracts.SearchModels;
|
|
|
|
|
using HardwareShopContracts.ViewModels;
|
|
|
|
|
|
|
|
|
|
namespace HardwareShopContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IBuildLogic
|
|
|
|
|
{
|
|
|
|
|
List<BuildViewModel>? ReadList(BuildSearchModel? model);
|
|
|
|
|
BuildViewModel? ReadElement(BuildSearchModel model);
|
2023-04-02 15:43:05 +04:00
|
|
|
|
double Price(ComponentSearchModel model);
|
2023-04-01 13:23:19 +04:00
|
|
|
|
bool Create(BuildBindingModel model);
|
|
|
|
|
bool Update(BuildBindingModel model);
|
|
|
|
|
bool Delete(BuildBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|