code practice for mvc4