C# Class Todo.Controllers.HomeController

Inheritance: Microsoft.AspNet.Mvc.Controller
Mostra file Open project: artigat1/TodoAppWithBackboneRequireAndMVC

Public Methods

Method Description
HomeController ( ) : System.Collections.Generic
HomeController ( IRepository repository ) : System.Collections.Generic
Index ( ) : Microsoft.AspNet.Mvc.ActionResult

Private Methods

Method Description
Delete ( int id ) : Microsoft.AspNet.Mvc.ActionResult
Get ( ) : Microsoft.AspNet.Mvc.ActionResult
Post ( TodoViewModel newTodo ) : Microsoft.AspNet.Mvc.ActionResult
Put ( int id, TodoViewModel newTodo ) : Microsoft.AspNet.Mvc.ActionResult

Method Details

HomeController() public method

public HomeController ( ) : System.Collections.Generic
return System.Collections.Generic

HomeController() public method

public HomeController ( IRepository repository ) : System.Collections.Generic
repository IRepository
return System.Collections.Generic

Index() public method

public Index ( ) : Microsoft.AspNet.Mvc.ActionResult
return Microsoft.AspNet.Mvc.ActionResult