PIbd-22_Gerimovich.I.M._Fur.../FurnitureAssembly/FurnitureAssemblyContracts/BusinessLogicsContracts/IClientLogic.cs

26 lines
703 B
C#
Raw Normal View History

2024-05-08 11:24:46 +04:00
using FurnitureAssemblyContracts.BindingModels;
using FurnitureAssemblyContracts.SearchModels;
2024-05-22 10:14:48 +04:00
using FurnitureAssemblyContracts.ViewModels;
2024-05-08 11:24:46 +04:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureAssemblyContracts.BusinessLogicsContracts
{
2024-05-22 10:14:48 +04:00
// Бизнес-логика для клиентов
2024-05-08 11:24:46 +04:00
public interface IClientLogic
{
2024-05-22 10:14:48 +04:00
List<ClientViewModel> ReadList(ClientSearchModel? model);
ClientViewModel? ReadElement(ClientSearchModel? model);
2024-05-08 11:24:46 +04:00
bool Create(ClientBindingModel model);
2024-05-22 10:14:48 +04:00
2024-05-08 11:24:46 +04:00
bool Update(ClientBindingModel model);
2024-05-22 10:14:48 +04:00
2024-05-08 11:24:46 +04:00
bool Delete(ClientBindingModel model);
}
}