コード例 #1
0
        public async Task <ActionResult <bool> > Update([FromBody] Student Student)
        {
            _Logger.LogInformation("Редактирование студента {0}", Student);
            var student_updated = await _StudentStore.Update(Student);

            _Logger.LogInformation("Редактирование студента {0} {1}",
                                   Student, student_updated ? "выполнено успешно" : "не выполнено");

            return(student_updated);
        }