public IActionResult AcceptFriendship(string friendUserId) { if (!IsThereUser(friendUserId)) { return(NotFound()); } var userId = _userManager.GetUserId(HttpContext.User); _friendsRepository.AcceptFriendship(userId, friendUserId); return(Ok()); }