public async Task <IActionResult> AcceptFriend(string id, [FromQuery] int friendRequestId)
        {
            if (string.IsNullOrEmpty(id))
            {
                ModelState.AddModelError("null_id", "id string can't be empty.");
                return(BadRequest(ModelState));
            }

            var user = await _profileService.QueryUserOrDefault(id, User);

            if (user == null)
            {
                ModelState.AddModelError("null_profile", "can't find user profile with specified id.");
                return(BadRequest(ModelState));
            }

            var accept = await _profileService.AcceptFriend(friendRequestId, id, User);

            if (accept == false)
            {
                ModelState.AddModelError("freind_request_id", "can't accept friend request that was not made by other user");
                return(BadRequest(ModelState));
            }

            return(Ok());
        }