forked from slavaxom9k/PIBD-23_Fomichev_V.S._MagicCarpet
29 lines
957 B
C#
29 lines
957 B
C#
using MagicCarpetContracts.AdapterContracts.OperationResponses;
|
|
using MagicCarpetContracts.BindingModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MagicCarpetContracts.AdapterContracts;
|
|
|
|
public interface IEmployeeAdapter
|
|
{
|
|
EmployeeOperationResponse GetList(bool includeDeleted);
|
|
|
|
EmployeeOperationResponse GetPostList(string id, bool includeDeleted);
|
|
|
|
EmployeeOperationResponse GetListByBirthDate(DateTime fromDate, DateTime toDate, bool includeDeleted);
|
|
|
|
EmployeeOperationResponse GetListByEmploymentDate(DateTime fromDate, DateTime toDate, bool includeDeleted);
|
|
|
|
EmployeeOperationResponse GetElement(string data);
|
|
|
|
EmployeeOperationResponse RegisterEmployee(EmployeeBindingModel employeeModel);
|
|
|
|
EmployeeOperationResponse ChangeEmployeeInfo(EmployeeBindingModel employeeModel);
|
|
|
|
EmployeeOperationResponse RemoveEmployee(string id);
|
|
}
|