16 lines
526 B
C#
16 lines
526 B
C#
|
using ComputersShopContracts.BindingModels;
|
|||
|
using ComputersShopContracts.SearchModels;
|
|||
|
using ComputersShopContracts.ViewModels;
|
|||
|
|
|||
|
namespace ComputersShopContracts.BusinessLogicsContracts
|
|||
|
{
|
|||
|
public interface IComputerLogic
|
|||
|
{
|
|||
|
List<ComputerViewModel>? ReadList(ComputerSearchModel? model);
|
|||
|
ComputerViewModel? ReadElement(ComputerSearchModel model);
|
|||
|
bool Create(ComputerBindingModel model);
|
|||
|
bool Update(ComputerBindingModel model);
|
|||
|
bool Delete(ComputerBindingModel model);
|
|||
|
}
|
|||
|
}
|