25 lines
629 B
C#
25 lines
629 B
C#
using ComputersShopContracts.BindingModels;
|
|
using ComputersShopContracts.SearchModels;
|
|
using ComputersShopContracts.ViewModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace ComputersShopContracts.BusinessLogicContracts
|
|
{
|
|
public interface IClientLogic
|
|
{
|
|
List<ClientViewModel>? ReadList(ClientSearchModel? model);
|
|
|
|
ClientViewModel? ReadElement(ClientSearchModel model);
|
|
|
|
bool Create(ClientBindingModel model);
|
|
|
|
bool Update(ClientBindingModel model);
|
|
|
|
bool Delete(ClientBindingModel model);
|
|
}
|
|
}
|