//[Route("tickets/{department}/newcategoryonticketview/edit")]
        public ActionResult SaveNewGroup(GroupEditModel model)
        {
            if (!ModelState.IsValid)
            {
                return(View("NewGroup", model));
            }
            try
            {
                //save the new group - get the ID
                var m         = _secretSantaBl.SaveNewGroup(model);
                var grouphome = _secretSantaBl.GroupHomeEditModelByGroupId(m.GroupId);
                grouphome.NewGroup = true;

                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(View("NewGroup", model));
        }