Exemplo n.º 1
0
        public ActionResult RemoveFriendship(string senderUsername, string recieverUsername)
        {
            var friendRep = new FriendshipRepository(context);

            friendRep.RemoveFriendship(senderUsername, recieverUsername);
            return(RedirectToAction("Friendship", new { username = User.Identity.Name, category = "Show all friends" }));
        }