예제 #1
0
        public IActionResult Delete(int id)
        {
            RegionContext regionContext = new RegionContext(connectionString);
            bool          isOK          = regionContext.Delete(id);

            DeleteRegionViewModels model = new DeleteRegionViewModels();

            model.IsDeleted = isOK;

            return(View(model));
        }