C# Class Cares.Web.Controllers.RolesAdminController

Inheritance: Controller
Mostrar archivo Open project: innoist/GF-FRS

Public Methods

Method Description
Create ( ) : System.Web.Mvc.ActionResult

Flash

Delete ( string id ) : Task
Details ( string id ) : Task

Gets Roles Details

Edit ( string id ) : Task
Index ( ) : System.Web.Mvc.ActionResult

Get All Roles

PostRightsManagement ( string roleValue, string selectedList ) : System.Web.Mvc.ActionResult
RightsManagement ( ) : System.Web.Mvc.ActionResult
RolesAdminController ( ) : Cares.Models.DomainModels
RolesAdminController ( IMenuRightsService menuRightsService ) : Cares.Models.DomainModels

Constructor

Private Methods

Method Description
Create ( RoleViewModel roleViewModel ) : Task
DeleteConfirmed ( string id, string deleteUser ) : Task
Edit ( [ Include = "Name,Id")]RoleViewModelroleModel ) : Task
RightsManagement ( System.Web.Mvc.FormCollection collection ) : System.Web.Mvc.ActionResult

Method Details

Create() public method

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

Delete() public method

public Delete ( string id ) : Task
id string
return Task

Details() public method

Gets Roles Details
public Details ( string id ) : Task
id string
return Task

Edit() public method

public Edit ( string id ) : Task
id string
return Task

Index() public method

Get All Roles
public Index ( ) : System.Web.Mvc.ActionResult
return System.Web.Mvc.ActionResult

PostRightsManagement() public method

public PostRightsManagement ( string roleValue, string selectedList ) : System.Web.Mvc.ActionResult
roleValue string
selectedList string
return System.Web.Mvc.ActionResult

RightsManagement() public method

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

RolesAdminController() public method

public RolesAdminController ( ) : Cares.Models.DomainModels
return Cares.Models.DomainModels

RolesAdminController() public method

Constructor
public RolesAdminController ( IMenuRightsService menuRightsService ) : Cares.Models.DomainModels
menuRightsService IMenuRightsService
return Cares.Models.DomainModels