using Microsoft.Extensions.Logging; using Squirrel.BusinessLogicsContracts; using Squirrel.DataModels; using Squirrel.StoragesContracts; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SquirelBusinessLogic.Implementations; internal class WorkerBusinessLogicContract(IWorkerStorageContract workerStorageContract, ILogger logger) : IWorkerBusinessLogicContract { private readonly ILogger _logger = logger; private readonly IWorkerStorageContract _workerStorageContract = workerStorageContract; public List GetAllWorkers(bool onlyActive = true) { return []; } public List GetAllWorkersByPost(string postId, bool onlyActive = true) { return []; } public List GetAllWorkersByBirthDate(DateTime fromDate, DateTime toDate, bool onlyActive = true) { return []; } public List GetAllWorkersByEmploymentDate(DateTime fromDate, DateTime toDate, bool onlyActive = true) { return []; } public WorkerDataModel GetWorkerByData(string data) { return new("", "", "", DateTime.Now, DateTime.Now, true); } public void InsertWorker(WorkerDataModel workerDataModel) { } public void UpdateWorker(WorkerDataModel workerDataModel) { } public void DeleteWorker(string id) { } }