You can also do this. It should work:
ViewBag.CurrencyID = x;
and in view:
@Html.DropDownListFor(model => model.CurrencyID, null)
Hope this helps!
app.UseEndpoints(endpoints => { endpoints.MapGet("/", async context => { var response = JsonConvert.Seriali...
Hiç yorum yok:
Yorum Gönder