β Should I separate the add and edit page in a web app?Ive always combined the add and edit page since the html is the same in both page. Depending if i had a query string or not, i would call the edit or create function on the save button click of the page
Someone last year told me that since create and edit are two different business logic, it should be two different page.
Im now currently following this guy formation on blazor and he is separating the add and edit page. Here is the link to the udemy course:
https://www.udemy.com/share/106UZ03@Tu1_uv6DDidhaejhbMirJ6450fEFQYgK2MlulExVKOZBkW1H-b5oEsXh-0kluNCs/My question is, should the add and edit page be separated?
If so, isnt it bad since if we make a change, we need to duplicate the change in both page?
And the page is the same exact html and css, so we need to duplicate it as well?
Please enlighten me on this ππ