public Book Delete(Book entity)
        {
            context.Remove(entity);
            context.SaveChanges();

            return(entity);
        }
Beispiel #2
0
        public Author Delete(Author entity)
        {
            context.Remove(entity);
            context.SaveChanges();

            return(entity);
        }