C# Class AccountProfile.Controllers.ProfileController

Inheritance: Controller
Show file Open project: jeffreypalermo/mvc2inaction

Public Methods

Method Description
Edit ( string username ) : System.Web.Mvc.ViewResult
Find ( ProfileSearchCriteria criteria ) : System.Web.Mvc.ViewResult
Index ( ) : System.Web.Mvc.ViewResult
ProfileController ( ) : System
ProfileController ( IProfileRepository profileRepository ) : System
Save ( EditProfileInput form ) : System.Web.Mvc.RedirectToRouteResult
Save ( ProfileEditModel form ) : System.Web.Mvc.RedirectToRouteResult
Show ( string username ) : System.Web.Mvc.ViewResult

Method Details

Edit() public method

public Edit ( string username ) : System.Web.Mvc.ViewResult
username string
return System.Web.Mvc.ViewResult

Find() public method

public Find ( ProfileSearchCriteria criteria ) : System.Web.Mvc.ViewResult
criteria AccountProfile.Models.ProfileSearchCriteria
return System.Web.Mvc.ViewResult

Index() public method

public Index ( ) : System.Web.Mvc.ViewResult
return System.Web.Mvc.ViewResult

ProfileController() public method

public ProfileController ( ) : System
return System

ProfileController() public method

public ProfileController ( IProfileRepository profileRepository ) : System
profileRepository IProfileRepository
return System

Save() public method

public Save ( EditProfileInput form ) : System.Web.Mvc.RedirectToRouteResult
form AccountProfile.Models.EditProfileInput
return System.Web.Mvc.RedirectToRouteResult

Save() public method

public Save ( ProfileEditModel form ) : System.Web.Mvc.RedirectToRouteResult
form AccountProfile.Models.ProfileEditModel
return System.Web.Mvc.RedirectToRouteResult

Show() public method

public Show ( string username ) : System.Web.Mvc.ViewResult
username string
return System.Web.Mvc.ViewResult