21 lines
638 B
C#
21 lines
638 B
C#
using ComputerShopContracts.BindingModels;
|
|
using ComputerShopContracts.SearchModels;
|
|
using ComputerShopContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ComputerShopContracts.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);
|
|
}
|
|
}
|