43 lines
1.2 KiB
C#
43 lines
1.2 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 SalaryBusinessLogicContract(
|
|
ISalaryStorageContact salaryStorageContact,
|
|
IPekarStorageContact pekarStorageContact,
|
|
ILogger logger)
|
|
: ISalaryStorageContact
|
|
{
|
|
private readonly ISalaryStorageContact _salaryStorageContact = salaryStorageContact;
|
|
private readonly IPekarStorageContact _pekarStorageContact = pekarStorageContact;
|
|
private readonly ILogger _logger = logger;
|
|
|
|
public List<SalaryDataModel> GetList()
|
|
{
|
|
return new List<SalaryDataModel>();
|
|
}
|
|
|
|
public SalaryDataModel GetElementById(string id)
|
|
{
|
|
return new SalaryDataModel("", "", new DateTime(), 0, 0, 0);
|
|
}
|
|
|
|
public void AddElement(SalaryDataModel element)
|
|
{
|
|
}
|
|
|
|
public void UpdateElement(SalaryDataModel element)
|
|
{
|
|
}
|
|
|
|
public void DeleteElement(string id)
|
|
{
|
|
}
|
|
}
|
|
} |