예제 #1
0
        public string GetPersonGroupsForQuery()
        {
            var personGroups    = PersonGroups.Select(f => f.PersonGroup.Name).ToArray();
            var strPersonGroups = String.Join("','", personGroups);

            strPersonGroups = "'" + strPersonGroups + "'";
            return(strPersonGroups);
        }
        public async override Task OnInitializedAsync()
        {
            await base.OnInitializedAsync().ConfigureAwait(false);

            PersonGroups = await MakeRequest <List <PersonGroupDto> >(_personGroupListRequest);

            SelectedPersonGroupId = PersonGroups?.Select(g => g.PersonGroupId).FirstOrDefault();
        }