asp.net MVC3 でプロジェクトに取り組んでいます。プロジェクトを実行してログインすると、UserProfile という名前のコントローラーがあり、エラー A public action method images was not found on controller UserProfile が表示されます。
どのコントローラーにも images という名前のアクション メソッドはありません。以下は、UserProfile の index メソッドです。
[CustomAuthorizeAttribute]
public ActionResult Index()
{
var userName = string.Empty;
if (SessionHelper.GetSession("login") != null)
{ userName = SessionHelper.GetSession("login").ToString(); }
else
{ return View(); }
SessionHelper.SetSess("issetup", null);
UserProfileModel model = GetUserProfileData(userName);
StateandCityDropdown();
return View(model);
}
ユーザープロファイルのインデックスビューには、データを入力するためのテキストボックスとその他のフィールドを含む2つのフォームと、画像をアップロードするための2つのフォームがあります