36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
using Microsoft.Extensions.Logging;
|
|
using TheCyclopsContracts.BusinessLogicContracts;
|
|
using TheCyclopsContracts.DataModels;
|
|
using TheCyclopsContracts.Enums;
|
|
using TheCyclopsContracts.StoragesContracts;
|
|
|
|
namespace TheCyclopsBusinessLogic.Implementations;
|
|
|
|
internal class ComponentBusinessLogicContract(IComponentStorageContract componentStorageContract, ILogger logger) : IComponentBusinessLogicContract
|
|
{
|
|
private readonly ILogger _logger = logger;
|
|
private readonly IComponentStorageContract _componentStorageContract = componentStorageContract;
|
|
|
|
public List<ComponentDataModel> GetAllComponents(bool onlyActive = true)
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public ComponentDataModel GetComponentByData(string data)
|
|
{
|
|
return new ComponentDataModel("", "", ComponentType.None, 0, false);
|
|
}
|
|
|
|
public void InsertComponent(ComponentDataModel componentDataModel)
|
|
{
|
|
}
|
|
|
|
public void UpdateComponent(ComponentDataModel componentDataModel)
|
|
{
|
|
}
|
|
|
|
public void DeleteComponent(string id)
|
|
{
|
|
}
|
|
}
|