41 lines
995 B
C#

using NorthBridgeContract.BusinessLogicsContracts;
using NorthBridgeContract.DataModels;
using NorthBridgeContract.Exceptions;
using NorthBridgeContract.Extensions;
using NorthBridgeContract.StoragesContracts;
using Microsoft.Extensions.Logging;
using System.Text.Json;
using System.Text.RegularExpressions;
namespace NorthBridgeBusinessLogic.Implementations;
internal class BuyerBusinessLogicContract(IBuyerStorageContract buyerStorageContract, ILogger logger) : IBuyerBusinessLogicContract
{
private readonly ILogger _logger = logger;
private readonly IBuyerStorageContract _buyerStorageContract = buyerStorageContract;
public List<BuyerDataModel> GetAllBuyers()
{
return new List<BuyerDataModel>();
}
public BuyerDataModel GetBuyerByData(string data)
{
return new BuyerDataModel("", "", "");
}
public void InsertBuyer(BuyerDataModel buyerDataModel)
{
}
public void UpdateBuyer(BuyerDataModel buyerDataModel)
{
}
public void DeleteBuyer(string id)
{
}
}