public ActionResult RevokeAction(int GroupId, string ActionName)
        {
            tblGroupActions tblGroupActions = db.tblGroupActions.FirstOrDefault(s => s.FK_Group == GroupId && s.ActionName == ActionName);

            if (tblGroupActions != null)
            {
                db.tblGroupActions.Remove(tblGroupActions);
                db.SaveChanges();
            }


            return(RedirectToAction("Details", new { id = GroupId }));
        }
        public ActionResult AddAction(int GroupId, string ActionName)
        {
            tblGroupActions tblGroupActions = new tblGroupActions()
            {
                ActionName = ActionName, FK_Group = GroupId
            };

            if (tblGroupActions != null)
            {
                db.tblGroupActions.Add(tblGroupActions);
                db.SaveChanges();
            }


            return(RedirectToAction("Details", new { id = GroupId }));
        }