Update the repository pattern
This commit is contained in:
@@ -11,7 +11,7 @@ namespace skydiveLogs_api.Data
|
||||
{
|
||||
public class JumpRepository : IJumpRepository
|
||||
{
|
||||
public IEnumerable<Jump> GetAllJumps()
|
||||
public IEnumerable<Jump> GetAll()
|
||||
{
|
||||
IEnumerable<Jump> result = new List<Jump>();
|
||||
|
||||
@@ -25,7 +25,7 @@ namespace skydiveLogs_api.Data
|
||||
return result;
|
||||
}
|
||||
|
||||
public Jump GetJumpById(int id)
|
||||
public Jump GetById(int id)
|
||||
{
|
||||
Jump result;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user