MoizSamee / IS7024

0 stars 1 forks source link

Duplication: Don't Repeat Yourself #27

Open discospiff opened 3 years ago

discospiff commented 3 years ago

This page is nearly identical to the Pfizer page. The only difference is the data source. It's a bit of duplication to create an entirely new page, when only one filter criteria of the data changes.

Consider if Ebay had a different page for every brand of shirts they sell, for instance.

Combine these two pages to make your programming more efficient.

https://github.com/MoizSamee/IS7024/blob/868ed3650931b32d6b10993ef9ef37636d6575ed/Covinator/Covinator/Pages/modernaVaccination.cshtml#L2