Пример #1
0
        public async Task <IList <Network> > GetUserNetworksAsync(Guid userId)
        {
            IList <NetworkModel> networks = await _networkRepository.GetUserNetworksAsync(userId);

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