AccountingWarehouseProducts.../AccountingWarehouseProducts/AccountingWarehouseProductsContracts/BusinessLogicsContracts/IProductLogic.cs

22 lines
691 B
C#

using AccountingWarehouseProductsContracts.BindingModels;
using AccountingWarehouseProductsContracts.SearchModels;
using AccountingWarehouseProductsContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace AccountingWarehouseProductsContracts.BusinessLogicsContracts
{
public interface IProductLogic
{
List<ProductViewModel>? ReadList(ProductSearchModel? model);
ProductViewModel? ReadElement(ProductSearchModel model);
bool Create(ProductBindingModel model);
bool Update(ProductBindingModel model);
bool Delete(ProductBindingModel model);
}
}