Exemple #1
0
        public ActionResult Edit(Organisation org)
        {
            Organisation testIfExists = Organisations.GetById(org.ID);

            if (testIfExists == null)
            {
                return(new HttpNotFoundResult());
            }

            Organisations.Update(org);
            return(RedirectToAction("Details", new { id = org.ID }));
        }