.
This commit is contained in:
parent
1e82d821b0
commit
5702d2eb69
@ -265,6 +265,7 @@ namespace SoftwayWeb.Controllers
|
||||
List<SelectListItem> selectItems = new List<SelectListItem>();
|
||||
List<Personale> modelList = new List<Personale>();
|
||||
HttpResponseMessage response = client.GetAsync(baseAddress).Result;
|
||||
|
||||
if (response.IsSuccessStatusCode)
|
||||
{
|
||||
string data = response.Content.ReadAsStringAsync().Result;
|
||||
@ -286,6 +287,7 @@ namespace SoftwayWeb.Controllers
|
||||
selectItems.Add(listItem);
|
||||
}
|
||||
}
|
||||
|
||||
return selectItems;
|
||||
}
|
||||
|
||||
|
||||
@ -26,13 +26,13 @@
|
||||
|
||||
@using (Html.BeginForm())
|
||||
{
|
||||
@* <div>@Html.TextBox("codAutista", null, new { placeholder = "Codice autista", @class = "agy-form-field require" })</div> *@
|
||||
<div>@Html.DropDownList("codAutista", ViewBag.Autisti, null, new { @class = "agy-form-field require" })</div>
|
||||
<br />
|
||||
<div>@Html.DropDownList("codMezzo", ViewBag.CodMezzo, null, new { @class = "agy-form-field require" })</div>
|
||||
<br />
|
||||
<div>@Html.TextBox("data", null, new { type = "date", @class = "agy-form-field require" })</div>
|
||||
<br />
|
||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
||||
<div>@Html.DropDownList("codAutista", ViewBag.Autisti, null, new { @class = "agy-form-field require" })</div>
|
||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
||||
<div>@Html.DropDownList("codMezzo", ViewBag.CodMezzo, null, new { @class = "agy-form-field require" })</div>
|
||||
<div class="col-lg-6 col-md-6 col-sm-12 col-12"> </div>
|
||||
|
||||
<div>
|
||||
@Html.CheckBox("aperto", new { placeholder ="aperto", @checked = true, })
|
||||
@Html.Label("aperto", "aperto")
|
||||
|
||||
Loading…
Reference in New Issue
Block a user