protected override void SetViewBagForIndexView(int?id)
 {
     if (id.HasValue)
     {
         var svc = new UserGroupService(new UnitOfWorkWrapper());
         ViewBag.ParentId    = id;
         _indexViewTitle     = svc.Find(id.Value).Name + " - Functions";
         ViewBag.UserGroupId = id;
     }
 }