Exemplo n.º 1
0
        public ActionResult DeleteService(string id, ServiceDescription model)
        {
            var service = reader.GetService(id);
            var route   = new { name = service.ConfigSet.Name, system = service.ConfigSet.System };

            reader.DeleteService(service);
            return(RedirectToAction("Details", "ConfigSet", route));
        }