C# Class MyMovies.WebApp.Controllers.MoviesController

Inheritance: Controller
Datei anzeigen Open project: prompt/preprompt-aspnet-mvc

Public Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult
CreateComment ( int movieId ) : System.Web.Mvc.ActionResult
Delete ( int id ) : System.Web.Mvc.ActionResult
Details ( int id ) : System.Web.Mvc.ActionResult
Edit ( int id ) : System.Web.Mvc.ActionResult
Filter ( MovieFilter Filter ) : System.Web.Mvc.ActionResult
Genres ( ) : System.Web.Mvc.ActionResult
Index ( ) : System.Web.Mvc.ActionResult
Index ( MovieFilter Filter ) : System.Web.Mvc.ActionResult
MoviesController ( IMoviesService moviesService ) : System

Private Methods

Method Description
Create ( Movie newMovie ) : System.Web.Mvc.ActionResult
Create ( string Title, string fill ) : System.Web.Mvc.ActionResult
CreateComment ( Comment c ) : System.Web.Mvc.ActionResult
DeletePost ( int id ) : System.Web.Mvc.ActionResult
EditPost ( int id ) : System.Web.Mvc.ActionResult

Method Details

Create() public method

public Create ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

CreateComment() public method

public CreateComment ( int movieId ) : System.Web.Mvc.ActionResult
movieId int
return System.Web.Mvc.ActionResult

Delete() public method

public Delete ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Details() public method

public Details ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Edit() public method

public Edit ( int id ) : System.Web.Mvc.ActionResult
id int
return System.Web.Mvc.ActionResult

Filter() public method

public Filter ( MovieFilter Filter ) : System.Web.Mvc.ActionResult
Filter MovieFilter
return System.Web.Mvc.ActionResult

Genres() public method

public Genres ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

Index() public method

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

Index() public method

public Index ( MovieFilter Filter ) : System.Web.Mvc.ActionResult
Filter MovieFilter
return System.Web.Mvc.ActionResult

MoviesController() public method

public MoviesController ( IMoviesService moviesService ) : System
moviesService IMoviesService
return System