C# Class AdminController, code

Inheritance: ControllerBase
Exibir arquivo Open project: shendongnian/code Class Usage Examples

Public Properties

Property Type Description
db linqVipDataContext
testService IAdminMenuService

Public Methods

Method Description
ActionRequiringRoleFoo ( ) : ActionResult,
AdminController ( IAdminMenuService layoutMarkupService )
AdminController ( IDataService, service )
AdminController ( ) : System.Web.Http
GetDesigns ( int productId ) : JsonResult
GetModels ( int designId ) : JsonResult
Index ( ) : ActionResult
menuPartial ( ) : PartialViewResult

Private Methods

Method Description
GetUsers ( ) : IEnumerable

Method Details

ActionRequiringRoleFoo() public method

public ActionRequiringRoleFoo ( ) : ActionResult,
return ActionResult,

AdminController() public method

public AdminController ( IAdminMenuService layoutMarkupService )
layoutMarkupService IAdminMenuService

AdminController() public method

public AdminController ( IDataService, service )
service IDataService,

AdminController() public method

public AdminController ( ) : System.Web.Http
return System.Web.Http

GetDesigns() public method

public GetDesigns ( int productId ) : JsonResult
productId int
return JsonResult

GetModels() public method

public GetModels ( int designId ) : JsonResult
designId int
return JsonResult

Index() public method

public Index ( ) : ActionResult
return ActionResult

menuPartial() public method

public menuPartial ( ) : PartialViewResult
return PartialViewResult

Property Details

db public_oe property

public linqVipDataContext db
return linqVipDataContext

testService public_oe property

public IAdminMenuService testService
return IAdminMenuService