public ActionResult DeleteComment(int id) { string uid = User.Identity.GetUserId(); bool can = commentService.CanUserDeleteComment(uid, id); if (can) { commentService.DeleteComment(id); this.AddNotification("Komenti u fshi.", NotificationType.SUCCESS); } else { this.AddNotification("Ju nuk keni te drejte te fshini komentin.", NotificationType.ERROR); } return(RedirectToAction("Index")); }