There are two @Html.DropDownListFor() , one of which involves the choice of a date, and the second - the time of the event. Tell me, please, is it possible with razor to transfer two values as one line to the controller from the view? Those. the result is a single format variable in the controller, for example, "MM / dd / yyyy / HH / mm / ss", while the date: "MM / dd / yyyy" and time: "HH / mm are taken from the individual DropDownListFor() " / ss ".
Is it possible to put these lines together and transfer to the controller method as one line?