Beispiel #1
0
        public void UpdateGroupFilter(HashSet <GroupFilterConditionType> types)
        {
            AnimeGroup grp = RepoFactory.AnimeGroup.GetByID(AnimeGroupID);
            JMMUser    usr = RepoFactory.JMMUser.GetByID(JMMUserID);

            if (grp != null && usr != null)
            {
                grp.UpdateGroupFilters(types, usr);
            }
        }
Beispiel #2
0
        public void UpdateGroupFilter(HashSet <GroupFilterConditionType> types)
        {
            AnimeGroupRepository repo     = new AnimeGroupRepository();
            JMMUserRepository    repouser = new JMMUserRepository();
            AnimeGroup           grp      = repo.GetByID(AnimeGroupID);
            JMMUser usr = repouser.GetByID(JMMUserID);

            if (grp != null && usr != null)
            {
                grp.UpdateGroupFilters(types, usr);
            }
        }