39 lines
1.1 KiB
C#
39 lines
1.1 KiB
C#
using System.Collections.Generic;
|
|
using CandyHouseBase.DataModels;
|
|
using CandyHouseBase.Interfaces.BusinessLogicsContracts;
|
|
using CandyHouseBase.Interfaces.StoragesContracts;
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
namespace CandyHouseBase.Implementations
|
|
{
|
|
internal class IngredientBusinessLogicContract(
|
|
IIngredientStorageContact ingredientStorageContact,
|
|
ILogger logger)
|
|
: IIngredientBusinessLogicContact
|
|
{
|
|
private readonly IIngredientStorageContact _ingredientStorageContact = ingredientStorageContact;
|
|
private readonly ILogger _logger = logger;
|
|
|
|
public List<IngredientDataModel> GetAllIngredients()
|
|
{
|
|
return new List<IngredientDataModel>();
|
|
}
|
|
|
|
public IngredientDataModel GetIngredientByData(string data)
|
|
{
|
|
return new IngredientDataModel("", "", "", 100);
|
|
}
|
|
|
|
public void InsertIngredient(IngredientDataModel ingredient)
|
|
{
|
|
}
|
|
|
|
public void UpdateIngredient(IngredientDataModel ingredient)
|
|
{
|
|
}
|
|
|
|
public void DeleteIngredient(string id)
|
|
{
|
|
}
|
|
}
|
|
} |