Little update around the controllers

This commit is contained in:
Sébastien André
2020-03-21 16:43:56 +01:00
parent c15ad54823
commit c85b036b7e
12 changed files with 24 additions and 29 deletions

View File

@@ -46,7 +46,7 @@ namespace skydiveLogs_api.Data
public User GetById(int id)
{
throw new NotImplementedException();
return _col.FindById(new BsonValue(id));
}
public bool Update(User updated)