public Tag Update(Tag Tag)
 {
     using (var client = new HttpClient())
     {
         HttpResponseMessage response =
             client.PutAsJsonAsync("http://localhost:17348/api/Tag/" + Tag.Id, Tag).Result;
         return response.Content.ReadAsAsync<Tag>().Result;
     }
 }
        public void Delete(Tag Tag)
        {
            using (var client = new HttpClient())
            {
                HttpResponseMessage response =
                    client.DeleteAsync("http://localhost:17348/api/Tag/" + Tag.Id).Result;

            }
        }