Esempio n. 1
0
        public ActionResult EditSchema(int id)
        {
            if (!Context.Schemas.Any(schema => schema.SchemaId == id))
            {
                return NewSchema();
            }

            var model = new EditSchemaViewModel(id);
            return View(model);
        }
 public ActionResult EditSchema(int id)
 {
     var model = new EditSchemaViewModel(id);
     return View(model);
 }