Is it wise to have the create and update screens in a CRUD app use the same view or is it too painful?
@if(Model.Name != null){
<input type="submit" value="Edit" />
} else {
<input type="submit" value="Create" />
}
Maybe it is more painful not too. What does everyone think?
No comments:
Post a Comment