I feel like I am looking for the wrong thing...and probably am.
I have some code in my app to allow the user to input the inspection date.
All I am wanting to do is insert a default value of todays date. It can be overwritten by the user if need as it is not critical. I keep thinking I should be able to do this in the view with some form of default for the input but...
<divclass="form-group"> <label asp-for="InspectDate" class="col-md-2 control-label"></label>
<input asp-for="InspectDate" class="form-control" value="@DateTime.Today"/>
<span asp-validation-for="InspectDate" class="text-danger" />