20 lines
502 B
C#
20 lines
502 B
C#
using ComputerShopContracts.BindingModels;
|
|
using ComputerShopContracts.SearchModels;
|
|
using ComputerShopContracts.ViewModels;
|
|
|
|
namespace ComputerShopContracts.BusinessLogicContracts
|
|
{
|
|
public interface IComponentLogic
|
|
{
|
|
List<ComponentViewModel>? ReadList(ComponentSearchModel? Model);
|
|
|
|
ComponentViewModel? ReadElement(ComponentSearchModel Model);
|
|
|
|
bool Create(ComponentBindingModel Model);
|
|
|
|
bool Update(ComponentBindingModel Model);
|
|
|
|
bool Delete(ComponentBindingModel Model);
|
|
}
|
|
}
|