Not trying to make a negative comment but diet doesn't matter as much has just generally washing your hands, your age (older is better up to a point), vaccinations in some cases, vitamins (that could be part of a diet), and your immune system (can be better by sleeping better/more, exercise, and...