Пример #1
0
        public IActionResult Edit(int id)
        {
            RegionContext    regionContext = new RegionContext(connectionString);
            Region           region        = regionContext.Get(id);
            RegionViewModels regionModel   = new RegionViewModels();

            regionModel.Identifiant = region.Identifiant;
            regionModel.Nom         = region.Nom;


            regionModel.Region = regions();

            return(View(regionModel));
        }