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

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

            return(entity);
        }