コード例 #1
0
        public async Task <ActionResult> Delete(string classId)
        {
            await _classService.DeleteByIdAsync(classId);

            return(this.RedirectToAction <ClassController>(x => x.All()));
        }