Пример #1
0
        public async Task InsertProfessor(Professor professor, CancellationToken token)
        {
            var dataProfessor = ProfessorConverter.ApiToEntityModel(professor);
            await _dbContext.InsertNewProfessor(dataProfessor, token);

            return;
        }