public async Task <IActionResult> ModifyHeroes([FromBody] HeroesManagementDto hero)
        {
            //nieuwzglenianie case sensitivity
            hero.HeroName = hero.HeroName.ToLower();


            var heroIdFromDB = await _repo.GetHeroId(hero.HeroName);


            // dodanie statystyk bohatera
            var heroStats = new HeroeStats
            {
                AbilityPower          = hero.AbilityPower,
                ApLifeSteal           = hero.ApLifeSteal,
                Armour                = hero.Armour,
                ArmourPenetration     = hero.ArmourPenetration,
                ArmourPenetrationProc = hero.ArmourPenetrationProc,
                AttackDamage          = hero.AttackDamage,
                AttackSpeed           = hero.AttackSpeed,
                CooldownReduction     = hero.CooldownReduction,
                CriticalChance        = hero.CriticalChance,
                HitPoints             = hero.HitPoints,
                HitPointsRegen        = hero.HitPointsRegen,
                LifeSteal             = hero.LifeSteal,
                MagicPenetration      = hero.MagicPenetration,
                MagicPenetrationProc  = hero.MagicPenetrationProc,
                MagicResistance       = hero.MagicResistance,
                Mana          = hero.Mana,
                ManaRegen     = hero.ManaRegen,
                MovementSpeed = hero.MovementSpeed,
                Range         = hero.Range,
                Tenacity      = hero.Tenacity,
                HeroId        = heroIdFromDB
            };

            var createdItemStats = await _repo.ModifyHeroStats(heroStats);

            return(StatusCode(201));
        }