public ActionResult Delete(DeleteMeetingInput message, UserGroup userGroup)
 {
     if (!_securityContext.HasPermissionsFor(userGroup))
     {
         return(NotAuthorizedView);
     }
     return(Command(message, r => RedirectToAction <HomeController>(c => c.Index(userGroup))));
 }
 protected bool CurrentUserHasPermissionToEditUserGroup(UserGroup userGroup)
 {
     return(_securityContext.HasPermissionsFor(userGroup));
 }