50 lines
1.4 KiB
C#
50 lines
1.4 KiB
C#
using Microsoft.Extensions.Logging;
|
|
using TheCyclopsContracts.BusinessLogicContracts;
|
|
using TheCyclopsContracts.DataModels;
|
|
using TheCyclopsContracts.StoragesContracts;
|
|
|
|
namespace TheCyclopsBusinessLogic.Implementations;
|
|
|
|
internal class EmployeeBusinessLogicContract(IEmployeeStorageContract employeeStorageContract, ILogger logger) : IEmployeeBusinessLogicContract
|
|
{
|
|
private readonly ILogger _logger = logger;
|
|
private readonly IEmployeeStorageContract _employeeStorageContract = employeeStorageContract;
|
|
|
|
public List<EmployeeDataModel> GetAllEmployees(bool onlyActive = true)
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public List<EmployeeDataModel> GetAllEmployeesByPost(string postId, bool onlyActive = true)
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public List<EmployeeDataModel> GetAllEmployeesByBirthDate(DateTime fromDate, DateTime toDate, bool onlyActive = true)
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public List<EmployeeDataModel> GetAllEmployeesByEmploymentDate(DateTime fromDate, DateTime toDate, bool onlyActive = true)
|
|
{
|
|
return [];
|
|
}
|
|
|
|
public EmployeeDataModel GetEmployeeByData(string data)
|
|
{
|
|
return new EmployeeDataModel("", "", "", "", DateTime.Now, DateTime.Now, false);
|
|
}
|
|
|
|
public void InsertEmployee(EmployeeDataModel employeeDataModel)
|
|
{
|
|
}
|
|
|
|
public void UpdateEmployee(EmployeeDataModel employeeDataModel)
|
|
{
|
|
}
|
|
|
|
public void DeleteEmployee(string id)
|
|
{
|
|
}
|
|
}
|