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
_jumpTypeRepository = jumpTypeRepository;
}
public void AddNewJumpType(JumpType value)
public void AddNewJumpType(JumpType newJumpType)
{
throw new NotImplementedException();
_jumpTypeRepository.Add(newJumpType);
}
public void DeleteJumpTypeById(int id)