marco
This commit is contained in:
parent
cebfc0334a
commit
7e900d5711
@ -400,33 +400,7 @@ namespace SoftwayWeb.Controllers
|
||||
|
||||
//apiUrl = helper.GetStringValue("apiUrl");
|
||||
|
||||
//urlBase = apiUrl + "ModificaGiro/addModgir";
|
||||
//baseAddress = new Uri(urlBase);
|
||||
//client = new HttpClient();
|
||||
//client.BaseAddress = baseAddress;
|
||||
|
||||
//string data = JsonConvert.SerializeObject(mg);
|
||||
//StringContent content = new StringContent(data, Encoding.UTF8, "application/json");
|
||||
//HttpResponseMessage response2 = client.PostAsync(baseAddress, content).Result;
|
||||
//if (response2.IsSuccessStatusCode)
|
||||
//{
|
||||
|
||||
// return RedirectToAction("Index", "Destinazioni", new
|
||||
// {
|
||||
// id = model.serialeGiro,
|
||||
// codAutista = model.CodAutistaOld,
|
||||
// nomeAutista = model.AutistaOld,
|
||||
// dataGiro = model.DataCarico,
|
||||
// codMezzo = model.CodAutomezzoOld,
|
||||
// desMezzo = model.DescAutomezzoOld
|
||||
// });
|
||||
//}
|
||||
//else
|
||||
//{
|
||||
// errMes = response2.Content.ReadAsStringAsync().Result;
|
||||
// helper.SetStringValue("errMsg", errMes);
|
||||
// return RedirectToAction("Error");
|
||||
//}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user