public Shoe DeleteShoe(int id) { var shoe = _context.Remove(new Shoe { productid = id }).Entity; _context.SaveChanges(); return(shoe); }