2023-04-01 16:33:03 +04:00
|
|
|
|
using HardwareShopContracts.BindingModels;
|
|
|
|
|
using HardwareShopContracts.SearchModels;
|
|
|
|
|
using HardwareShopContracts.ViewModels;
|
|
|
|
|
|
2023-05-15 22:33:12 +04:00
|
|
|
|
namespace HardwareShopContracts.BusinessLogicsContracts
|
2023-04-01 16:33:03 +04:00
|
|
|
|
{
|
|
|
|
|
public interface IComponentLogic
|
|
|
|
|
{
|
|
|
|
|
List<ComponentViewModel>? ReadList(ComponentSearchModel? model);
|
|
|
|
|
ComponentViewModel? ReadElement(ComponentSearchModel model);
|
|
|
|
|
bool Create(ComponentBindingModel model);
|
|
|
|
|
bool Update(ComponentBindingModel model);
|
|
|
|
|
bool Delete(ComponentBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|