Add an endpoint to call the lof of jumps by page.
This commit is contained in:
@@ -63,6 +63,16 @@ namespace skydiveLogs_api.DomainBusiness
|
||||
return _jumpRepository.GetById(id);
|
||||
}
|
||||
|
||||
public int GetJumpCount()
|
||||
{
|
||||
return _jumpRepository.GetCount(_identityService.ConnectedUser);
|
||||
}
|
||||
|
||||
public IEnumerable<Jump> GetJumpsByIndexes(int beginIndex, int endIndex)
|
||||
{
|
||||
return _jumpRepository.GetBetweenIndex(_identityService.ConnectedUser, beginIndex, endIndex);
|
||||
}
|
||||
|
||||
public void UpdateJump(int id, Jump updatedJump)
|
||||
{
|
||||
var myJump = GetJumpById(id);
|
||||
|
||||
Reference in New Issue
Block a user