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