43 lines
1.3 KiB
C#
43 lines
1.3 KiB
C#
using System;
|
|
using System.Collections.Generic;
|
|
using CandyHouseBase.DataModels;
|
|
using CandyHouseBase.Enums;
|
|
using CandyHouseBase.Interfaces.BusinessLogicsContracts;
|
|
using CandyHouseBase.Interfaces.StoragesContracts;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace CandyHouseBase.Implementations
|
|
{
|
|
internal class ProductBusinessLogicContract(
|
|
IProductStorageContact productStorageContact,
|
|
IIngredientStorageContact ingredientStorageContact,
|
|
ILogger logger)
|
|
: IProductBusinessLogicContact
|
|
{
|
|
private readonly IProductStorageContact _productStorageContact = productStorageContact;
|
|
private readonly IIngredientStorageContact _ingredientStorageContact = ingredientStorageContact;
|
|
private readonly ILogger _logger = logger;
|
|
|
|
public List<ProductDataModel> GetAllProducts()
|
|
{
|
|
return new List<ProductDataModel>();
|
|
}
|
|
|
|
public ProductDataModel GetProductByData(string data)
|
|
{
|
|
return new ProductDataModel("", "", "", new List<IngredientDataModel>());
|
|
}
|
|
|
|
public void InsertProduct(ProductDataModel product)
|
|
{
|
|
}
|
|
|
|
public void UpdateProduct(ProductDataModel product)
|
|
{
|
|
}
|
|
|
|
public void DeleteProduct(string id)
|
|
{
|
|
}
|
|
}
|
|
} |