public IActionResult AdminSetting(AdminSettingVM viewModel) { if (!ModelState.IsValid) { return(View(viewModel)); } else { context.UpdateAdmin(viewModel); return(RedirectToAction(nameof(AdminController.AdminSetting))); } }