예제 #1
0
        /// <summary>
        /// 更新选择题
        /// </summary>
        /// <param name="editSelectInput"></param>
        /// <returns></returns>
        public async Task <SelectOutput> UpdateEditSelect(EditSelectInput editSelectInput)
        {
            var teacher = await GetTeacher();

            var edit = editSelectInput.Adapt <SelectDto>();

            edit.TeacherId = teacher.Id;
            var selectUpdate = await _selectService.UpdateSelect(edit);

            return(selectUpdate.Adapt <SelectOutput>());
        }