public void DeleteVenue(Venue venue) //Use Case 5 { APIDeleteJSON <Venue> deletevenue = new APIDeleteJSON <Venue>(hostname, servicepath + "Venues/" + venue.Id, venue); }
public Book DeleteBook(Book book) //Sletter et Book objekt på BookService Web API { APIDeleteJSON <Book> bookdelete = new APIDeleteJSON <Book>(this.hostname, this.servicepath + "Books/" + book.Id, book); return(bookdelete.data); }
public void DeleteEvent(Commingevent ev) //Case 3 { APIDeleteJSON <Commingevent> eventdel = new APIDeleteJSON <Commingevent>(hostname, servicepath + "Events/" + ev.Id, ev); //ingen return data da event er slettet }
public Author DeleteAuthor(Author author) //Sletter et Author objekt på BookService Web API { APIDeleteJSON <Author> athdelete = new APIDeleteJSON <Author>(this.hostname, this.servicepath + "Authors/" + author.Id, author); return(athdelete.data); }