C# Class Blog.Admin.Web.Controllers.HobbiesController

Inheritance: Controller
显示文件 Open project: jsnmgpnty/Blogness2.0

Public Methods

Method Description
HobbiesController ( IHobbyResource hobbyResource, IUsersResource usersResource, IErrorSignaler errorSignaler ) : System
Index ( int userId ) : System.Web.Mvc.ActionResult

Private Methods

Method Description
Create ( Hobby hobby ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Edit ( Hobby hobby ) : System.Web.Mvc.ActionResult
GetErrorList ( ModelState>.IEnumerable modelState ) : string[]>.Dictionary

Method Details

HobbiesController() public method

public HobbiesController ( IHobbyResource hobbyResource, IUsersResource usersResource, IErrorSignaler errorSignaler ) : System
hobbyResource IHobbyResource
usersResource IUsersResource
errorSignaler IErrorSignaler
return System

Index() public method

public Index ( int userId ) : System.Web.Mvc.ActionResult
userId int
return System.Web.Mvc.ActionResult