예제 #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);
 }