2024-05-24 12:23:50 +04:00
|
|
|
|
using FurnitureAssemblyContracts.BindingModels;
|
|
|
|
|
using FurnitureAssemblyContracts.SearchModels;
|
|
|
|
|
using FurnitureAssemblyContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace FurnitureAssemblyContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
|
|
|
|
// Бизнес-логика для компонентов
|
2024-05-24 13:05:47 +04:00
|
|
|
|
public interface IKommentLogic
|
2024-05-24 12:23:50 +04:00
|
|
|
|
{
|
2024-05-24 13:05:47 +04:00
|
|
|
|
List<KommentViewModel>? ReadList(KommentSearchModel? model);
|
2024-05-24 12:23:50 +04:00
|
|
|
|
|
2024-05-24 13:05:47 +04:00
|
|
|
|
KommentViewModel? ReadElement(KommentSearchModel model);
|
2024-05-24 12:23:50 +04:00
|
|
|
|
|
2024-05-24 13:05:47 +04:00
|
|
|
|
bool Create(KommentBindingModel model);
|
2024-05-24 12:23:50 +04:00
|
|
|
|
|
2024-05-24 13:05:47 +04:00
|
|
|
|
bool Update(KommentBindingModel model);
|
2024-05-24 12:23:50 +04:00
|
|
|
|
|
2024-05-24 13:05:47 +04:00
|
|
|
|
bool Delete(KommentBindingModel model);
|
2024-05-24 12:23:50 +04:00
|
|
|
|
}
|
|
|
|
|
}
|