Example #1
0
        public void PostAsync(string json)
        {
            var factory = new TaskFactory().StartNew(
                () =>
            {
                var factory = new Factory();
                var data    = factory.BuildData(json);

                if (data != null)
                {
                    var dao = new DataDAO();
                    dao.Post(data);
                }
            });
        }