La page des stats avance, on a maintenant
des infos
This commit is contained in:
@@ -19,7 +19,7 @@ namespace skydiveLogs_api.Business
|
||||
{
|
||||
var allJumps = _jumpRepository.GetAll();
|
||||
|
||||
return allJumps.GroupBy(j => j.Aircraft.Id,
|
||||
return allJumps.GroupBy(j => j.Aircraft.Name,
|
||||
j => j,
|
||||
(groupby, jumps) => new Statistic
|
||||
{
|
||||
@@ -33,7 +33,7 @@ namespace skydiveLogs_api.Business
|
||||
{
|
||||
var allJumps = _jumpRepository.GetAll();
|
||||
|
||||
return allJumps.GroupBy(j => j.DropZone.Id,
|
||||
return allJumps.GroupBy(j => j.DropZone.Name,
|
||||
j => j,
|
||||
(groupby, jumps) => new Statistic
|
||||
{
|
||||
@@ -47,7 +47,7 @@ namespace skydiveLogs_api.Business
|
||||
{
|
||||
var allJumps = _jumpRepository.GetAll();
|
||||
|
||||
return allJumps.GroupBy(j => j.JumpType.Id,
|
||||
return allJumps.GroupBy(j => j.JumpType.Name,
|
||||
j => j,
|
||||
(groupby, jumps) => new Statistic
|
||||
{
|
||||
@@ -61,7 +61,7 @@ namespace skydiveLogs_api.Business
|
||||
{
|
||||
var allJumps = _jumpRepository.GetAll();
|
||||
|
||||
return allJumps.GroupBy(j => j.Gear.Id,
|
||||
return allJumps.GroupBy(j => j.Gear.Name,
|
||||
j => j,
|
||||
(groupby, jumps) => new Statistic
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user