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

@@ -27,6 +27,11 @@ namespace skydiveLogs_api.Data
return _col.FindById(new BsonValue(id));
}
public bool Update(Gear updatedGear)
{
return _col.Update(updatedGear);
}
private readonly IDataProvider _dataProvider;
private readonly LiteCollection<Gear> _col;