public ActionResult Color() { var viewModel = new ColorViewModel() { Color = System.Drawing.Color.Red, NullableColor = null, ColorAsString = "#FF0000" }; return this.View( viewModel ); }
public ActionResult Color( ColorViewModel viewModel ) { return this.View( viewModel ); }