public IActionResult NewFriendRequest(int accountId) { if (_friendsRepository.IsFriends(_user.Id, accountId) == false) { _friendsRepository.NewFriendRequest(_user.Id, accountId); return(Ok(new { status = true })); } else { return(Ok(new { status = false })); } }