public ActionResult <List <Allowed_Action> > Get(int id)
        {
            AppDB            db             = provider.GetRequiredService <AppDB>();
            Allowed_ActionDA allowed_Action = new Allowed_ActionDA(db);

            return(allowed_Action.getById(id));
        }
        public ActionResult <List <Allowed_Action> > Get()
        {
            AppDB            db             = provider.GetService <AppDB>();
            Allowed_ActionDA allowed_Action = new Allowed_ActionDA(db);

            return(allowed_Action.getAll());
        }
        public ActionResult <object> Update(Allowed_Action allowed_Action)
        {
            AppDB            db = provider.GetRequiredService <AppDB>();
            Allowed_ActionDA allowed_ActionDA = new Allowed_ActionDA(db);
            var res = allowed_ActionDA.update(allowed_Action);

            return(new
            {
                result = res
            });
        }