C# Class KendoTodo.Controllers.HomeController

Inheritance: Controller
显示文件 Open project: burkeholland/Kendo-UI-ToDo-List-V2

Public Methods

Method Description
Create ( string name ) : System.Web.Mvc.JsonResult
Delete ( Item item ) : System.Web.Mvc.JsonResult
Index ( ) : System.Web.Mvc.ActionResult
Read ( ) : System.Web.Mvc.JsonResult
Update ( Item item ) : System.Web.Mvc.JsonResult

Private Methods

Method Description
CreateItem ( string name ) : Models.Item
Items ( ) : IList
SetItems ( ) : void

Method Details

Create() public method

public Create ( string name ) : System.Web.Mvc.JsonResult
name string
return System.Web.Mvc.JsonResult

Delete() public method

public Delete ( Item item ) : System.Web.Mvc.JsonResult
item Item
return System.Web.Mvc.JsonResult

Index() public method

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

Read() public method

public Read ( ) : System.Web.Mvc.JsonResult
return System.Web.Mvc.JsonResult

Update() public method

public Update ( Item item ) : System.Web.Mvc.JsonResult
item Item
return System.Web.Mvc.JsonResult