Configurations orderBy date creation
This commit is contained in:
parent
eb50590684
commit
19d84b4417
@ -65,7 +65,7 @@ namespace ManagerService.Controllers
|
|||||||
configurationDTOs.Add(configurationDTO);
|
configurationDTOs.Add(configurationDTO);
|
||||||
}
|
}
|
||||||
|
|
||||||
return new OkObjectResult(configurationDTOs);
|
return new OkObjectResult(configurationDTOs.OrderBy(c => c.dateCreation));
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user