public void InsertChampionSkin(PaladinsChampionSkin paladinsChampionSkin, PaladinsChampion paladinsChampion) { lock (Locker) { paladinsChampionSkin.ParentPaladinsChampion = paladinsChampion; _dbConnection.Insert(paladinsChampionSkin); } }
public void DeleteChampionSkin(PaladinsChampionSkin paladinsChampionSkin) { lock (Locker) { DeleteChampionSkins(new List <PaladinsChampionSkin> { paladinsChampionSkin }); } }
public void DeleteChampionSkin(PaladinsChampionSkin paladinsChampionSkin, PaladinsChampion parentPaladinsChampion) { _dataAccess.DeleteChampionSkin(paladinsChampionSkin); parentPaladinsChampion.ChampionSkins.Remove(paladinsChampionSkin); }
public void InsertChampionSkin(PaladinsChampionSkin paladinsChampionSkin, PaladinsChampion paladinsChampion) { paladinsChampionSkin.ParentPaladinsChampion = paladinsChampion; _dataAccess.InsertChampionSkin(paladinsChampionSkin, paladinsChampion); paladinsChampion.ChampionSkins.Add(paladinsChampionSkin); }