inserimento sede

This commit is contained in:
Marco Audiffredi 2024-07-29 18:17:46 +02:00
parent 8ab01eb1bd
commit fe3abd6ae7
3 changed files with 5 additions and 3 deletions

View File

@ -708,11 +708,12 @@ namespace ApiSoftway.Controllers
var ti = await _sbrord.Where(t => t.Brserial.Equals(model.Serial)).FirstAsync(); var ti = await _sbrord.Where(t => t.Brserial.Equals(model.Serial)).FirstAsync();
string _committente = ti.Brcodcom; string _committente = ti.Brcodcom;
string _cliFatturazione = ti.Brclifat; string _cliFatturazione = ti.Brclifat;
string _codSede = ti.Brcodsed;
int seque = ti.Brnumseq.Value; int seque = ti.Brnumseq.Value;
t.Cca = _committente; t.Cca = _committente;
t.Ccda=_cliFatturazione; t.Ccda=_cliFatturazione;
t.Cprownum = seque; t.Cprownum = seque;
t.Piconseg=_codSede;
//Step 3 : testata //Step 3 : testata

View File

@ -10,5 +10,6 @@ namespace ApiSoftway.Models
public string? Brcodcom { get; set; } public string? Brcodcom { get; set; }
public string? Brclifat { get; set; } public string? Brclifat { get; set; }
public int? Brnumseq { get; set; } public int? Brnumseq { get; set; }
public string? Brcodsed { get; set; }
} }
} }

View File

@ -74,5 +74,5 @@ app.UseAuthorization();
app.MapControllers(); app.MapControllers();
app.Run(); //app.Run();
//app.Run("http://localhost:6000"); app.Run("http://localhost:6000");