Add a property "IsFavorite" for the drop zone.

This commit is contained in:
Sébastien André
2019-11-27 14:06:22 +01:00
parent 41eecd2a68
commit bee8ca06f4
13 changed files with 60 additions and 17 deletions

View File

@@ -35,9 +35,10 @@ namespace skydiveLogs_api.Business
return _dropZoneRepository.GetById(id);
}
public void UpdateDz(int id, DropZone dropZone)
public bool UpdateDz(int id, DropZone dropZone)
{
throw new NotImplementedException();
dropZone.Id = id;
return _dropZoneRepository.Update(dropZone);
}
private readonly IDropZoneRepository _dropZoneRepository;