コード例 #1
0
 public async Task <object> GetRoles([FromServices] ISysRoleServcie sysRoleServcie)
 {
     return(Json(await sysRoleServcie.GetAllAsync(p => p.GUID != "")));
 }
コード例 #2
0
 public RoleController(ISysRoleServcie sysRoleServcie)
 {
     this.sysRoleServcie = sysRoleServcie;
 }