public ActionResult <Member> Get() { // Because this is behind [Authorize] attribute (bc it's applied globally), they must be logged in to get here. long memberId = _httpContextAccessor.HttpContext.User.GetMemberId(); return(_membersService.GetByMemberId(memberId)); }