i know that ViewBag and ViewData can be used to pass data and objects from controllers to the corresponding view. Can they be used for vice versa, i.e. to pass data from view to the controller or to bind to model property. I have a file select in the view. Now can i pass that file using ViewBag to the controller or bind that file to my model property?
Thanks