|
|
@ -315,9 +315,9 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES |
|
|
|
barcode_station.Systype = "S"; |
|
|
|
barcode_station.CreateDate = DateTime.Now; |
|
|
|
|
|
|
|
_context.BarcodeStation.Add(barcode_station); |
|
|
|
try |
|
|
|
{ |
|
|
|
_context.BarcodeStation.Add(barcode_station); |
|
|
|
await _context.SaveChangesAsync(); |
|
|
|
} |
|
|
|
catch { } |
|
|
|