//[Route("tickets/{department}/newcategoryonticketview/edit")]
 public ActionResult SaveGroup(GroupEditModel model)
 {
     if (!ModelState.IsValid)
     {
         return(View("NewGroup", model));
     }
     try
     {
         //save the new group - get the ID
         var m = _secretSantaBl.SaveGroup(model);
         m.Saved = true;
         return(PartialView("_EditGroupPopup", m));
         //return RedirectToAction("GroupHome", new { id = m.GroupId });
     }
     catch (AppException ax)
     {
         ModelState.AddModelError("", ax.AppMessage);
     }
     catch (Exception ex)
     {
         ModelState.AddModelError("", ex.Message);
         _log.LogWarning(ex.Message);
     }
     return(PartialView("_EditGroupPopup", model));
 }