public ActionResult Details(string name, string system, ConfigSet model)
        {
            var cs = reader.GetConfigSet(name, system);

            if (!cs.UserHasAccessTo())
            {
                throw new UnauthorizedAccessException("Access denied to configset");
            }
            cs.Description = model.Description;
            cs.LayerNames  = model.LayerNames;
            reader.UpdateConfigSet(cs);
            ViewBag.Id = cs.Id;
            return(View(cs));
        }