public async Task <IActionResult> AddFriend(string id) { User curUser = await _userService.GetAsync(User); User friend = await _userService.GetAsync(id); _requestService.AddFriend(curUser, friend); return(RedirectToAction("Index", "Profile", new { id })); }