19 lines
483 B
C#
19 lines
483 B
C#
using CandyHouseContracts.DataModels;
|
|
|
|
namespace CandyHouseContracts.BusinessLogicContracts;
|
|
|
|
public interface IProductBusinessLogicContract
|
|
{
|
|
List<ProductDataModel> GetAllProducts();
|
|
|
|
List<ProductHistoryDataModel> GetProductHistoryByProduct(string productId);
|
|
|
|
ProductDataModel GetProductByData(string data);
|
|
|
|
void InsertProduct(ProductDataModel productDataModel);
|
|
|
|
void UpdateProduct(ProductDataModel productDataModel);
|
|
|
|
void DeleteProduct(string id);
|
|
}
|