Пример #1
0
        internal void AddCurrentNetwork(Network net)
        {
            CurrentNetwork curNet = new CurrentNetwork()
            {
                Name          = net.Name,
                NetworkId     = net.NetworkId,
                Password      = net.Password,
                CreatorUserId = net.CreatorUserId
            };

            sqliteRepository.SaveCurrentNetwork(curNet);
        }