Method | Description | |
---|---|---|
Create ( Post post, int authorId ) : System.Web.Mvc.ActionResult | ||
Destroy ( int id ) : System.Web.Mvc.ActionResult | ||
Edit ( int id ) : System.Web.Mvc.ActionResult | ||
Index ( int page = 1 ) : System.Web.Mvc.ActionResult | ||
New ( ) : System.Web.Mvc.ActionResult | ||
PostsController ( IRepository repository ) : System.Collections.Generic | ||
Search ( string query ) : System.Web.Mvc.ViewResult | ||
Show ( int id ) : System.Web.Mvc.ActionResult | ||
Update ( Post post, int authorId ) : System.Web.Mvc.ActionResult |
public Create ( Post post, int authorId ) : System.Web.Mvc.ActionResult | ||
post | Post | |
authorId | int | |
return | System.Web.Mvc.ActionResult |
public Destroy ( int id ) : System.Web.Mvc.ActionResult | ||
id | int | |
return | System.Web.Mvc.ActionResult |
public Edit ( int id ) : System.Web.Mvc.ActionResult | ||
id | int | |
return | System.Web.Mvc.ActionResult |
public Index ( int page = 1 ) : System.Web.Mvc.ActionResult | ||
page | int | |
return | System.Web.Mvc.ActionResult |
public PostsController ( IRepository repository ) : System.Collections.Generic | ||
repository | IRepository | |
return | System.Collections.Generic |
public Search ( string query ) : System.Web.Mvc.ViewResult | ||
query | string | |
return | System.Web.Mvc.ViewResult |
public Show ( int id ) : System.Web.Mvc.ActionResult | ||
id | int | |
return | System.Web.Mvc.ActionResult |
public Update ( Post post, int authorId ) : System.Web.Mvc.ActionResult | ||
post | Post | |
authorId | int | |
return | System.Web.Mvc.ActionResult |