我試圖創建一個管理部分的帳戶信息可以看到和編輯使用MVC,剃刀和實體框架(代碼優先)的Web應用程序。我的問題是,當我嘗試使用控制器重置密碼時,其餘帳戶信息被刪除。這裏是我的控制器 // GET: Edit/5
public ActionResult Edit(string id)
{
if (id == null)
{
return ne
我想再次問。我該如何解決這個問題 Eror Picture 總是發現錯誤,我不會停下來。我必須在你們的幫助下嘗試。 你看看我的錯誤後,這是我的代碼: using System;
using System.Web;
using System.DirectoryServices;
using System.DirectoryServices.AccountManagement;