2024-06-17 14:32:12 +04:00
|
|
|
|
using Contracts.BindingModels;
|
2024-06-22 11:01:06 +04:00
|
|
|
|
using Contracts.SearchModels;
|
|
|
|
|
using Contracts.ViewModels;
|
2024-06-17 14:32:12 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace Contracts.BusinessLogicContracts
|
|
|
|
|
{
|
|
|
|
|
public interface IProductLogic
|
|
|
|
|
{
|
|
|
|
|
bool Create(ProductBindingModel model);
|
|
|
|
|
bool Update(ProductBindingModel model);
|
|
|
|
|
bool Delete(ProductBindingModel model);
|
2024-06-22 11:01:06 +04:00
|
|
|
|
List<ProductViewModel>? ReadList(ProductSearchModel? model);
|
|
|
|
|
ProductViewModel? ReadElement(ProductSearchModel model);
|
2024-06-17 14:32:12 +04:00
|
|
|
|
}
|
|
|
|
|
}
|