public async Task <Item> ModifyItem(Guid playerid, Guid itemid, ModifiedItem item) { await Task.CompletedTask; Item found = GetItemById(playerid, itemid); if (found != null) { found.Level = item.Level; } return(found); }
public Task <Item> UpdateItem(Guid playerId, Guid id, ModifiedItem item) { return(repo.UpdateItem(playerId, id, item)); }