Exemplo n.º 1
0
        // PUT /api/remidners/id
        public void Update(ReminderItem item)
        {
            var response = Execute($"/api/reminders/{item.Id}", HttpMethod.Put, item.ToContent());

            response.EnsureSuccessStatusCode();
        }
Exemplo n.º 2
0
        // POST /api/remidners
        public void Add(ReminderItem item)
        {
            var response = Execute("/api/reminders", HttpMethod.Post, item.ToContent());

            response.EnsureSuccessStatusCode();
        }