Update about the relation column "User" for the images
and begin to add a column in "Aircraft"
This commit is contained in:
@@ -39,7 +39,7 @@ namespace skydiveLogs_api.Business
|
||||
jump.JumpType = selectedJumpType;
|
||||
jump.DropZone = selectedDropZone;
|
||||
jump.Gear = selectedGear;
|
||||
jump.UserId = connectedUser.Id;
|
||||
jump.User = connectedUser;
|
||||
|
||||
_jumpRepository.Add(jump);
|
||||
}
|
||||
@@ -51,7 +51,7 @@ namespace skydiveLogs_api.Business
|
||||
|
||||
public IEnumerable<Jump> GetAllJumps(User connectedUser)
|
||||
{
|
||||
return _jumpRepository.GetAll(connectedUser.Id);
|
||||
return _jumpRepository.GetAll(connectedUser);
|
||||
}
|
||||
|
||||
public Jump GetJumpById(int id)
|
||||
|
||||
Reference in New Issue
Block a user