Esempio n. 1
0
        public Ability CreateAbility(Ability ability)
        {
            _context.Abilities.Add(ability);
            _context.SaveChanges();

            return(ability);
        }
Esempio n. 2
0
        public Player CreatePlayer(Player player)
        {
            _context.Players.Add(player);
            _context.SaveChanges();

            return(player);
        }
Esempio n. 3
0
        public Fight CreateFight(Fight fight)
        {
            _context.Fights.Add(fight);
            _context.SaveChanges();

            return(fight);
        }
Esempio n. 4
0
        public FightLog CreateFightLog(FightLog fightLog)
        {
            _context.FightLogs.Add(fightLog);
            _context.SaveChanges();

            return(fightLog);
        }