예제 #1
0
 public void UpdatePlayerAttribute(PlayerAttribute playerAttribute, int id)
 {
     if (id != 0)
     {
         playerAttribute.Id = id;
         _playerAttributeRepository.Update(playerAttribute, id);
     }
 }
예제 #2
0
        public PlayerAttribute AddPlayerAttribute(PlayerAttribute playerAttribute)
        {
            if (playerAttribute == null)
            {
                return null;
            }

           
            return _playerAttributeRepository.Add(playerAttribute);
        }