C# Class BeiDream.Demo.Web.Areas.Systems.Controllers.UserController

Inheritance: EasyUiControllerBase
Datei anzeigen Open project: BeiMeng/BeiDream

Public Methods

Method Description
QueryForm ( ) : System.Web.Mvc.ActionResult
SetRoles ( System.Guid userId, string ids ) : System.Web.Mvc.ActionResult

保存用户操作的角色设置信息

UserController ( IUserService userService ) : System

Private Methods

Method Description
Add ( ) : System.Web.Mvc.PartialViewResult
Delete ( string ids ) : System.Web.Mvc.ActionResult
Edit ( System.Guid id ) : System.Web.Mvc.PartialViewResult
EditRoles ( System.Guid id ) : System.Web.Mvc.PartialViewResult
Index ( ) : System.Web.Mvc.ActionResult
Query ( BeiDream.Demo.Domain.Queries.UserQuery query ) : System.Web.Mvc.ActionResult
Save ( VmUserAddorEdit vm ) : System.Web.Mvc.ActionResult

Method Details

QueryForm() public method

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

SetRoles() public method

保存用户操作的角色设置信息
public SetRoles ( System.Guid userId, string ids ) : System.Web.Mvc.ActionResult
userId System.Guid 当前设置的用户id
ids string 选中的角色id集合
return System.Web.Mvc.ActionResult

UserController() public method

public UserController ( IUserService userService ) : System
userService IUserService
return System