コード例 #1
0
 public static bool IsPending(UserInformationModel<User> aUser, int aGroupId)
 {
     IGroupService myClubService = new GroupService(new ModelStateWrapper(new ModelStateDictionary()));
     return myClubService.IsPendingApproval(aUser, aGroupId);
 }
コード例 #2
0
 public static bool IsAdmin(UserInformationModel<User> aUser, int aGroupId)
 {
     IGroupService myGroupService = new GroupService(new ModelStateWrapper(new ModelStateDictionary()));
     return myGroupService.IsAdmin(aUser, aGroupId);
 }
コード例 #3
0
 public static bool IsMember(UserInformationModel<User> aUser, int aGroupId)
 {
     IGroupService myClubService = new GroupService(new ModelStateWrapper(new ModelStateDictionary()));
     return myClubService.IsApartOfGroup(aUser, aGroupId);
 }