示例#1
0
        public async Task <IActionResult> AcceptInvitation([FromBody] InvitationAction invitationData)
        {
            var userId = new Guid(User.Identity.Name);

            await _friendService.AcceptFriendInvitationAsync(invitationData.InvitingUserId.Value, userId);

            return(Ok());
        }