Update the repsitories to know the "Add" function
This commit is contained in:
@@ -5,6 +5,5 @@ namespace skydiveLogs_api.Data.Interface
|
||||
{
|
||||
public interface IAircraftRepository : IRepository<Aircraft>
|
||||
{
|
||||
bool AddAircraft(Aircraft newAircraft);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -5,6 +5,5 @@ namespace skydiveLogs_api.Data.Interface
|
||||
{
|
||||
public interface IJumpRepository : IRepository<Jump>
|
||||
{
|
||||
bool AddJump(Jump newJump);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -9,5 +9,7 @@ namespace skydiveLogs_api.Data.Interface
|
||||
T GetById(int id);
|
||||
|
||||
bool Update(T updated);
|
||||
|
||||
bool Add(T newEntity);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user