Exemplo n.º 1
0
        public Book Update(ChangePubDateDto changePubDateDto)
        {
            var Book = Context.Find <Book>(changePubDateDto.BookId);

            Book.PublishedOn = changePubDateDto.PublishedOn;
            Context.SaveChanges();
            return(Book);
        }