Update the business layer to implement the "Add" action

This commit is contained in:
Sébastien André
2019-12-05 08:32:09 +01:00
parent a5b450a56d
commit 192af9e0bf
5 changed files with 8 additions and 8 deletions

View File

@@ -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)