コード例 #1
0
        public IActionResult Add([FromBody] LectureDto conference)
        {
            var userId = User.FindFirst(ClaimTypes.NameIdentifier).Value;

            return(Ok(_lectureService.Add(Convert.ToInt32(userId), conference)));
        }