public ActionResult DeleteFriend(String friendUsername) { User u = gc.getUserFromIdentity(User); User friend = gc.GetUser(friendUsername); FriendLogic.DeleteFriend(u, friend, gc); return(RedirectToAction("Friends")); }
public ActionResult DeleteFriend(String friendUsername) { User u = gc.getUserFromIdentity(User); User friend = gc.GetUser(friendUsername); FriendLogic.DeleteFriend(u, friend, gc); return(RedirectToAction("Friends")); }