public ActionResult RemoveFriend(User user, string friend)
        {
            IDAL DAL = new DBDataAL();
            DAL.RemoveFriend(user.UserName, friend);

            FriendData data = new FriendData("matt");
            return View("Web/Friends", data);
        }
示例#2
0
        public ActionResult RemoveFriend(string friend)
        {
            string Name = User.Identity.Name;

            IDAL DAL = new DBDataAL();
            DAL.RemoveFriend(Name, friend);

            FriendData data = new FriendData(Name);
            return View("~/Views/Web/Friends.cshtml", data);
        }