Update the repository pattern
This commit is contained in:
@@ -27,12 +27,12 @@ namespace skydiveLogs_api.Business
|
||||
|
||||
public IEnumerable<Jump> GetAllJumps()
|
||||
{
|
||||
return _jumpRepository.GetAllJumps();
|
||||
return _jumpRepository.GetAll();
|
||||
}
|
||||
|
||||
public Jump GetJumpById(int id)
|
||||
{
|
||||
return _jumpRepository.GetJumpById(id);
|
||||
return _jumpRepository.GetById(id);
|
||||
}
|
||||
|
||||
public void UpdateJump(int id, Jump jump)
|
||||
|
||||
Reference in New Issue
Block a user