Beispiel #1
0
        public async Task <IEnumerable <UserViewModel> > GetActiveUserList()
        {
            var users = await _securityServiceAsync.GetActiveUsersAsync();

            var userModels = Mapper.Map <IEnumerable <User>, List <UserViewModel> >(users);

            return(userModels);
        }