public virtual async Task <PagedResultDto <UserGroup> > GetGroupUsersAsync(GroupUserGetByPagedDto groupUserGetByPaged)
        {
            var groupUserCount = await _userGroupStore.GetGroupUsersCountAsync(CurrentTenant.Id,
                                                                               groupUserGetByPaged.GroupId, groupUserGetByPaged.Filter);

            var groupUsers = await _userGroupStore.GetGroupUsersAsync(CurrentTenant.Id,
                                                                      groupUserGetByPaged.GroupId, groupUserGetByPaged.Filter, groupUserGetByPaged.Sorting,
                                                                      groupUserGetByPaged.SkipCount, groupUserGetByPaged.MaxResultCount);

            return(new PagedResultDto <UserGroup>(groupUserCount, groupUsers));
        }
Esempio n. 2
0
 public virtual async Task <PagedResultDto <UserGroup> > GetGroupUsersAsync(GroupUserGetByPagedDto groupUserGetByPaged)
 {
     return(await _chatAppService.GetGroupUsersAsync(groupUserGetByPaged));
 }