Little test with AI + Add the equipment #8
@@ -104,6 +104,7 @@ namespace skydiveLogs_api.DomainBusiness
|
|||||||
public bool UpdateGear(int id, Gear gear)
|
public bool UpdateGear(int id, Gear gear)
|
||||||
{
|
{
|
||||||
gear.Id = id;
|
gear.Id = id;
|
||||||
|
gear.User = _identityService.ConnectedUser;
|
||||||
|
|
||||||
return _gearRepository.Update(gear);
|
return _gearRepository.Update(gear);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user