示例#1
0
        public async Task <bool> AddAsync()
        {
            RESTClient client = new RESTClient();

            try
            {
                await client.AddAsync(Movie);

                MessageBox.Show("Done");
                return(true);
            }
            catch (Exception ex)
            {
                MessageBox.Show(ex.Message);
                return(false);
            }
        }