Sunday, August 21, 2011

in a CRUD app, should the same View "manage" both create and edit?

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