22 lines
768 B
C#
22 lines
768 B
C#
using CandyHouseContracts.DataModels;
|
|
|
|
namespace CandyHouseContracts.BusinessLogicsContracts;
|
|
|
|
internal interface IEmployeeBusinessLogicContract
|
|
{
|
|
List<EmployeeDataModel> GetAllEmployees(bool onlyActive = true);
|
|
|
|
List<EmployeeDataModel> GetAllEmployeesByPost(string postId, bool onlyActive = true);
|
|
|
|
List<EmployeeDataModel> GetAllEmployeesByBirthDate(DateTime fromDate, DateTime toDate, bool onlyActive = true);
|
|
|
|
List<EmployeeDataModel> GetAllEmployeesByEmploymentDate(DateTime fromDate, DateTime toDate, bool onlyActive = true);
|
|
|
|
EmployeeDataModel GetEmployeeByData(string data);
|
|
|
|
void InsertEmployee(EmployeeDataModel employeeDataModel);
|
|
|
|
void UpdateEmployee(EmployeeDataModel employeeDataModel);
|
|
|
|
void DeleteEmployee(string id);
|
|
} |