public async Task <IActionResult> Get([FromQuery] long id) { var res = await _roleService.GetAsync(id); return(Ok(res)); }
public async Task <SysRole> GetAsync(long roleid) { return(await _roleService.GetAsync(roleid)); }
public async Task <IActionResult> Get([FromQuery] long id) { var res = await _roleService.GetAsync(id); return(Ok(res)); }
public async Task <SysRole> GetAsync(long roleid) { return(await _roleService.GetAsync(roleid)); }