예제 #1
0
        public Task <Item> UpdateItem(Guid playerId, ModifiedItem item)
        {
            // var temp = Task.FromResult(GetItem(playerId, item.ItemId));
            var temp2 = GetItem(playerId, item.ItemId).Result;

            temp2.Level = item.Level;
            return(_repository.UpdateItem(playerId, temp2));
        }
예제 #2
0
 public Task <Item> Modify(Guid playerId, ModifiedItem item)
 {
     return(_processor.UpdateItem(playerId, item));
 }