public ActionResult <FriendsDto> CheckFriend(int userId, int targetId)
        {
            try
            {
                var friendDto = _friendsService.CheckIfFriend(userId, targetId);

                return(Ok(friendDto));
            }
            catch (Exception)
            {
                return(StatusCode(500, "An error has occured!Try again later!"));
            }
        }