Ejemplo n.º 1
0
 public ActionResult Index(int id)
 {
     if (id != DbUtil.Db.CurrentOrgId0)
         throw new Exception($"Current org has changed from {id} to {DbUtil.Db.CurrentOrgId0}, aborting");
     var model = new OrgDrop(id);
     model.RemoveExistingLop(DbUtil.Db, id, OrgDrop.Op);
     return View(model);
 }