Can/should ModelStateToTempDataAttribute restore values during OnActionExecuting?
description
I have a situation where my controller needs to check the current value of a control during the HttpGet phase in order to populate a viewmodel. Unfortunately, I can't get at these values because ModelStateToTempDataAttribute copies them back to the ModelState during OnActionExecuted instead of OnActionExecuting.
I can manually store the value of the control to TempData during the post and then retrieve it during the get, but that feels like it breaks the DRY principle and isn't nearly as clean.