public Book Update(Book entity)
        {
            context.Update(entity);
            context.SaveChanges();

            return(entity);
        }
示例#2
0
        public Author Update(Author entity)
        {
            context.Update(entity);
            context.SaveChanges();

            return(entity);
        }