/// <summary> /// 削除フールプルーフ処理 /// </summary> /// <param name="yes">If set to <c>true</c> yes.</param> public void DeleteYesNo(bool yes) { if (yes) { // 削除実行 cGameManager.Instance.StartCoroutine(UserAccountManager.Delete()); } }
//Register delete public ActionResult Delete(int id) { if (id > 0) { bool isDelete = _userAccountManager.Delete(id); if (isDelete) { return(RedirectToAction("Index")); } } return(View()); }