/// <summary> /// 根据角色名称查询用户角色对象 /// </summary> /// <param name="name"></param> /// <returns></returns> public UserRole GetUserRoleByName(string name) { return(urs.GetUserRoleByName(name)); }