예제 #1
0
        public void AddThought(string thought)
        {
            var newThought = new RandomThought
            {
                Thought   = thought,
                CreatedOn = DateTime.Now
            };

            _connection.Insert(newThought);
        }
예제 #2
0
        public void AddThought(string myName, double myLat, double myLon)
        {
            var newThought = new RandomThought
            {
                Name = myName,
                Lat  = myLat,
                Lon  = myLon
            };

            _connection.Insert(newThought);
        }