Generic data input form in asp.net mvc application

Posted by Diego on Stack Overflow See other posts from Stack Overflow or by Diego
Published on 2010-04-07T20:39:45Z Indexed on 2010/04/07 20:43 UTC
Read the original article Hit count: 301

Hello, I have an application that have EF 16 classes that share this information: They all are classes only with a key field and a description. I think it should be a waste if I make a controller with just 1 method just to present a form to fill these classes info, then I was thinking in to make a generic form(with key, description) and dynamically fill the right class through a sort of selection the selected info in any way, any good suggestion or pattern to do that? Where the generic methods should be located.

© Stack Overflow or respective owner

Related posts about asp.net-mvc

Related posts about best-practices