예제 #1
0
        public IActionResult BlockUser(int blockedId)
        {
            var rows = blockService.BlockPersonal(blockedId);

            rows += friendsService.Unfriend(blockedId);

            return(RedirectToActionPermanent("Index", "Home"));
        }