This commit is contained in:
2020-06-18 18:07:09 +00:00
parent 59bfd20488
commit f2b6f237db
4 changed files with 501 additions and 534 deletions

View File

@@ -114,7 +114,7 @@ namespace rockfishCore.Controllers
{
return NotFound();
}
var custInfo = await ct.Customer.AsNoTracking().Where(z => z.Id == site.CustomerId).Select(z => new { z.Name, z.Id, dbid = site.DbId }).SingleAsync();
var custInfo = await ct.Customer.AsNoTracking().Where(z => z.Id == site.CustomerId).Select(z => new { z.Name, z.Id, site.CustomerId, dbid = site.DbId }).SingleAsync();
return Ok(custInfo);
}