常用方法
常用方法
常用方法
常用方法
public async Task <ActionResult <RetrievalResult <Right> > > GetGroupMembersAsync( [FromQuery] int?groupId, [FromQuery] int?memberId) { var userIdClaimed = HttpContext.User.Identity.GetUserIdClaim(); if (userIdClaimed is null) { return(BadRequest()); } return(Ok(await _groupMemberService.RetrieveGroupMemberAsync(userIdClaimed.Value, groupId, memberId))); }