public ActionResult ClassesManageSave(ClassesInfoEditDto dto) { try { CheckModelState(); classesinfoService.CreateOrUpdateClassesInfoAsync(new CreateOrUpdateClassesInfoInput { ClassesInfoEditDto = dto }); return(RedirectToAction("ClassesManageIndex")); } catch { return(View()); } }