19 lines
559 B
C#
Raw Normal View History

2025-02-27 17:13:36 +04:00
using IcecreamVan.DataModels;
namespace IcecreamVan.StoragesContracts;
public interface IWorkerContract
{
List<WorkerDataModel> GetList(bool onlyActive = true, string? postID = null, DateTime? fromBD = null, DateTime? toBD = null, DateTime? fromEmploymentDate = null, DateTime? toEmploymentDate = null);
WorkerDataModel? GetElementById(string id);
WorkerDataModel? GetElementByName(string fio);
void AddElement(WorkerDataModel workerDataModel);
void UpdElement(WorkerDataModel workerDataModel);
void DelElement(string id);
}