2024-04-27 13:01:57 +04:00
|
|
|
|
using ElectronicsShopContracts.BindingModels;
|
|
|
|
|
using ElectronicsShopContracts.SearchModels;
|
|
|
|
|
using ElectronicsShopContracts.ViewModels;
|
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace ElectronicsShopContracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IProductLogic
|
|
|
|
|
{
|
|
|
|
|
List<ProductViewModel>? ReadList(ProductSearchModel? model);
|
2024-04-28 20:14:44 +04:00
|
|
|
|
ProductViewModel? ReadElement(ProductSearchModel? model);
|
2024-04-27 13:01:57 +04:00
|
|
|
|
|
|
|
|
|
bool Create(ProductBindingModel model);
|
|
|
|
|
bool Update(ProductBindingModel model);
|
|
|
|
|
bool Delete(ProductBindingModel model);
|
|
|
|
|
}
|
|
|
|
|
}
|