|
@ -316,7 +316,11 @@ namespace AMESCoreStudio.WebApi.Controllers.AMES |
|
|
barcode_station.CreateDate = DateTime.Now; |
|
|
barcode_station.CreateDate = DateTime.Now; |
|
|
|
|
|
|
|
|
_context.BarcodeStation.Add(barcode_station); |
|
|
_context.BarcodeStation.Add(barcode_station); |
|
|
|
|
|
try |
|
|
|
|
|
{ |
|
|
await _context.SaveChangesAsync(); |
|
|
await _context.SaveChangesAsync(); |
|
|
|
|
|
} |
|
|
|
|
|
catch { } |
|
|
|
|
|
|
|
|
//紀錄筆數
|
|
|
//紀錄筆數
|
|
|
result.Success = true; |
|
|
result.Success = true; |
|
|