Method | Description | |
---|---|---|
Create ( |
||
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 ( |
public Create ( |
||
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 | ||
authorId | int | |
return | System.Web.Mvc.ActionResult |