24 lines
930 B
C#
24 lines
930 B
C#
using SmallSoftwareContracts.AdapterContracts.OperationResponses;
|
|
using SmallSoftwareContracts.BindingModels;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace SmallSoftwareContracts.AdapterContracts;
|
|
|
|
public interface IWorkerAdapter
|
|
{
|
|
WorkerOperationResponse GetList(bool includeDeleted);
|
|
WorkerOperationResponse GetPostList(string id, bool includeDeleted);
|
|
WorkerOperationResponse GetListByBirthDate(DateTime fromDate, DateTime toDate, bool includeDeleted);
|
|
WorkerOperationResponse GetListByEmploymentDate(DateTime fromDate, DateTime
|
|
toDate, bool includeDeleted);
|
|
WorkerOperationResponse GetElement(string data);
|
|
WorkerOperationResponse RegisterWorker(WorkerBindingModel workerModel);
|
|
WorkerOperationResponse ChangeWorkerInfo(WorkerBindingModel workerModel);
|
|
WorkerOperationResponse RemoveWorker(string id);
|
|
|
|
}
|