Ejemplo n.º 1
0
        public async Task <IList <Network> > GetRecentNetworksAsync(Guid userId)
        {
            IList <NetworkModel> networks = await _networkRepository.GetRecentNetworksAsync(userId);

            return(networks.Select(n => new Network(n)).ToList());
        }