forked from slavaxom9k/PIBD-23_Fomichev_V.S._MagicCarpet
28 lines
888 B
C#
28 lines
888 B
C#
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<EmployeeDataModel> GetAllEmployees(bool onlyActive = true);
|
|
|
|
List<EmployeeDataModel> GetAllEmployeesByPost(string employeeId, 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);
|
|
}
|