Esempio n. 1
0
        public async Task <List <UserLookupModel> > GetUsersNotAssignedToCommitteeByRoleName(string roleName, int committeeId)
        {
            UsersSearchCriteriaModel criteria = new UsersSearchCriteriaModel();

            criteria = GetUserAgencyTypeAndIdWithFlags(criteria);
            var usersForCommittee = await _iDMAppService.FindUsersByRoleNameAndAgencyCodeNotAssignedToCommitteeAssignAsync(roleName, criteria.AgencyId, committeeId, (AgencyType)criteria.AgencyType);

            return(usersForCommittee);
        }