Method | Description | |
---|---|---|
CategoryController ( IEventRepository repo ) : System | ||
Create ( ) : System.Web.Mvc.ViewResult | ||
Edit ( int categoryId ) : System.Web.Mvc.ViewResult | ||
Index ( ) : System.Web.Mvc.ViewResult | ||
Rules ( int categoryId ) : System.Web.Mvc.PartialViewResult | ||
SaveRules ( int categoryId, List |
Method | Description | |
---|---|---|
CategoryAlreadyExists ( |
||
Edit ( |
||
ModelStateAndCategoryNameIsValid ( |
public CategoryController ( IEventRepository repo ) : System | ||
repo | IEventRepository | |
return | System |
public Create ( ) : System.Web.Mvc.ViewResult | ||
return | System.Web.Mvc.ViewResult |
public Edit ( int categoryId ) : System.Web.Mvc.ViewResult | ||
categoryId | int | |
return | System.Web.Mvc.ViewResult |
public Rules ( int categoryId ) : System.Web.Mvc.PartialViewResult | ||
categoryId | int | |
return | System.Web.Mvc.PartialViewResult |
public SaveRules ( int categoryId, List |
||
categoryId | int | |
rules | List |
|
return | System.Web.Mvc.JsonResult |