Update the business layer to implement the "Add" action
This commit is contained in:
@@ -15,9 +15,9 @@ namespace skydiveLogs_api.Business
|
||||
_gearRepository = gearRepository;
|
||||
}
|
||||
|
||||
public void AddNewGear(Gear Gear)
|
||||
public void AddNewGear(Gear newGear)
|
||||
{
|
||||
throw new NotImplementedException();
|
||||
_gearRepository.Add(newGear);
|
||||
}
|
||||
|
||||
public void DeleteGearById(int id)
|
||||
|
||||
Reference in New Issue
Block a user