public ActionResult <List <Data_Type> > Get(int id)
        {
            AppDB       db        = provider.GetRequiredService <AppDB>();
            Data_TypeDA data_Type = new Data_TypeDA(db);

            return(data_Type.getById(id));
        }
        public ActionResult <List <Data_Type> > Get()
        {
            AppDB       db        = provider.GetService <AppDB>();
            Data_TypeDA data_Type = new Data_TypeDA(db);

            return(data_Type.getAll());
        }
        public ActionResult <object> Update(Data_Type data_Type)
        {
            AppDB       db          = provider.GetRequiredService <AppDB>();
            Data_TypeDA data_TypeDA = new Data_TypeDA(db);
            var         res         = data_TypeDA.update(data_Type);

            return(new
            {
                result = res
            });
        }