55 lines
1.6 KiB
C#
55 lines
1.6 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 PekarBusinessLogicContract(
|
|
IPekarStorageContact pekarStorageContact,
|
|
IProductStorageContact productStorageContact,
|
|
IPositionStorageContact positionStorageContact,
|
|
ILogger logger)
|
|
: IPekarBusinessLogicContact
|
|
{
|
|
private readonly IPekarStorageContact _pekarStorageContact = pekarStorageContact;
|
|
private readonly IProductStorageContact _productStorageContact = productStorageContact;
|
|
private readonly IPositionStorageContact _positionStorageContact = positionStorageContact;
|
|
private readonly ILogger _logger = logger;
|
|
|
|
public List<PekarDataModel> GetAllPekars()
|
|
{
|
|
return new List<PekarDataModel>();
|
|
}
|
|
|
|
public List<PekarDataModel> GetAllDataOfPekar(string pekarId)
|
|
{
|
|
return new List<PekarDataModel>();
|
|
}
|
|
|
|
public PekarDataModel GetPekarByData(string data)
|
|
{
|
|
return new PekarDataModel("", "", "",
|
|
0, new List<ProductDataModel>());
|
|
}
|
|
|
|
public void InsertPekar(PekarDataModel order)
|
|
{
|
|
}
|
|
|
|
public void UpdatePekar(PekarDataModel order)
|
|
{
|
|
}
|
|
|
|
public void DeletePekar(string id)
|
|
{
|
|
}
|
|
|
|
public void RestorePekar(string id)
|
|
{
|
|
}
|
|
}
|
|
} |