...
This commit is contained in:
@@ -40,12 +40,12 @@ namespace Back.Services
|
||||
}
|
||||
}
|
||||
|
||||
return await _repoCreditDocuments.Get(document=>document.CompanyID==CompanyID)
|
||||
return await _repoCreditDocuments.Get(document=>document.CompanyID==CompanyID).OrderByDescending(o=>o.ID)
|
||||
.Select(s=>new CreditDocumentDto
|
||||
{
|
||||
Date=s.Date.ShamciToFormatShamci(),
|
||||
Title=s.Title,
|
||||
typeName = s.type.GetDisplayName(),
|
||||
typeName = s.type.GetEnumDisplayName(),
|
||||
type=s.type,
|
||||
Value=s.Value,
|
||||
})
|
||||
|
Reference in New Issue
Block a user