* Changed string parameters to GUID
This commit is contained in:
@@ -16,7 +16,7 @@ namespace SytelineSaAppEfDataModel.Services
|
||||
return await context.ErrorLogs.Select(x => mapper.Map<ErrorLogDto>(x)).ToListAsync();
|
||||
}
|
||||
|
||||
public async Task<IEnumerable<ErrorLogDto>> GetByOrderNumber(string customerOrderNumber)
|
||||
public async Task<IEnumerable<ErrorLogDto>> GetByOrderNumber(Guid customerOrderNumber)
|
||||
{
|
||||
return await context.ErrorLogs.Where(x => x.TrxNum == customerOrderNumber)
|
||||
.Select(x => mapper.Map<ErrorLogDto>(x)).ToListAsync();
|
||||
|
||||
Reference in New Issue
Block a user