コード例 #1
0
        public async Task <IActionResult> AcceptFriendRequest([FromRoute] Guid requestId)
        {
            await _contactService.AcceptFriendRequest(_claimsService.GetUserClaims().Id, requestId);

            var response = new ResponseMessage
            {
                Data      = "Success",
                IsSuccess = true
            };

            return(Ok(response));
        }