25 lines
784 B
C#
25 lines
784 B
C#
using TheCyclopsContracts.DataModels;
|
|
|
|
namespace TheCyclopsContracts.BusinessLogicContracts;
|
|
|
|
public 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);
|
|
}
|