Пример #1
0
        public void AddWorker(WorkerDTO workerDTO)
        {
            var worker = _workerMapper.GetWorkersFromWorkerDTO(workerDTO);

            _workerRepository.AddWorkers(worker);

            workerDTO.Id = worker.WorkerId;
        }