2023-04-05 23:14:46 +04:00
|
|
|
|
using FurnitureContracts.BindingModels;
|
|
|
|
|
using FurnitureContracts.SearchModels;
|
|
|
|
|
using FurnitureContracts.ViewModel;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace FurnitureContracts.BusinessLogicsContracts
|
|
|
|
|
{
|
2023-04-08 21:01:58 +04:00
|
|
|
|
public interface IFurnitureLogic
|
2023-04-05 23:14:46 +04:00
|
|
|
|
{
|
|
|
|
|
List<FurnitureViewModel>? ReadList(FurnitureSearchModel? model);
|
|
|
|
|
FurnitureViewModel? ReadElement(FurnitureSearchModel model);
|
|
|
|
|
bool Create(FurnitureBindingModel model);
|
|
|
|
|
bool Update(FurnitureBindingModel model);
|
|
|
|
|
bool Delete(FurnitureBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|