public ActionResult Create(CreateIndicatorDataItemViewModel viewModel)
 {
     if (ModelState.IsValid)
     {
         Debug.WriteLine($"Create item for {viewModel.IndicatorDescription} : {viewModel.Country} {viewModel.Region} {viewModel.Sex} {viewModel.Year} {viewModel.Value}");
         return(RedirectToAction("Index", "IndicatorData", new { code = viewModel.IndicatorCode }));
     }
     return(View(viewModel));
 }
        public ActionResult Create(string code)
        {
            CreateIndicatorDataItemViewModel viewModel = new CreateIndicatorDataItemViewModel
            {
                IndicatorCode = code
            };

            return(View(viewModel));
        }