Exemple #1
0
 public ActionResult AddChild(Guid id, Guid child)
 {
     try
     {
         groupSvc.AddChildGroup(id, child);
         return(RedirectToAction("Index"));
     }
     catch (ValidationException ex)
     {
         ModelState.AddModelError("", ex.Message);
     }
     return(Index());
 }