2025-02-16 21:09:05 +04:00
|
|
|
|
using Microsoft.Extensions.Logging;
|
|
|
|
|
using TheCyclopsContracts.BusinessLogicContracts;
|
2025-02-16 05:35:41 +04:00
|
|
|
|
using TheCyclopsContracts.DataModels;
|
|
|
|
|
using TheCyclopsContracts.Enums;
|
2025-02-16 21:09:05 +04:00
|
|
|
|
using TheCyclopsContracts.StoragesContracts;
|
2025-02-16 05:35:41 +04:00
|
|
|
|
|
|
|
|
|
namespace TheCyclopsBusinessLogic.Implementations;
|
|
|
|
|
|
2025-02-16 21:09:05 +04:00
|
|
|
|
internal class ComponentBusinessLogicContract(IComponentStorageContract componentStorageContract, ILogger logger) : IComponentBusinessLogicContract
|
2025-02-16 05:35:41 +04:00
|
|
|
|
{
|
2025-02-16 21:09:05 +04:00
|
|
|
|
private readonly ILogger _logger = logger;
|
|
|
|
|
private readonly IComponentStorageContract _componentStorageContract = componentStorageContract;
|
|
|
|
|
|
2025-02-16 05:35:41 +04:00
|
|
|
|
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)
|
|
|
|
|
{
|
|
|
|
|
}
|
|
|
|
|
}
|