using MagicCarpetContracts.DataModels; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MagicCarpetContracts.BuisnessLogicContracts; public interface IEmployeeBusinessLogicContract { List GetAllEmployees(bool onlyActive = true); List GetAllEmployeesByPost(string employeeId, bool onlyActive = true); List GetAllEmployeesByBirthDate(DateTime fromDate, DateTime toDate, bool onlyActive = true); List GetAllEmployeesByEmploymentDate(DateTime fromDate, DateTime toDate, bool onlyActive = true); EmployeeDataModel GetEmployeeByData(string data); void InsertEmployee(EmployeeDataModel employeeDataModel); void UpdateEmployee(EmployeeDataModel employeeDataModel); void DeleteEmployee(string id); }