@await Html.PartialAsync("_DelayedLoad", new ViewDataDictionary(this.ViewData) {
{ "div", "maintvolume" },
{ "url", Html.Raw(@Url.Action("VolumesReport", "Distributors", new
{Model.VolumeType, Model.DistributorId, month=Model.VolumeMonth,
year=Model.VolumeYear, levelId=Model.LevelId, Model.IsBoundToCycles})) }
})
By the way ViewDataDictionary is the magic for handing more than one model into a Controller.
No comments:
Post a Comment