public async Task <IActionResult> Add(Guid id)
        {
            var fields = await _cmsRepo.GetFieldsForModel(id);

            ViewData["ModelId"] = id.ToString();
            return(View(fields));
        }
        public async Task <IActionResult> Index(Guid id)
        {
            var theModel = await _dataRepo.Get <Model>(id);

            var model = new FieldViewModel()
            {
                Fields    = await _cmsRepo.GetFieldsForModel(id),
                ModelName = theModel.Name,
                ModelId   = id
            };

            //ViewData["ModelId"] = id.ToString();
            return(View(model));
        }