public IEnumerable <Puzzle> Delete(int id)
 {
     PuzzleRepository.Delete(id);
     PuzzleRepository.SaveChanges();
     return(PuzzleRepository.GetAll());
 }