Пример #1
0
        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);
        }
Пример #2
0
 public Task <Item> UpdateItem(Guid playerId, Guid id, ModifiedItem item)
 {
     return(repo.UpdateItem(playerId, id, item));
 }