public void RemoveAttack(DbAttack attack)
 {
     myDbConnection.Delete(attack);
 }
        public DbAttack GetAttackById(Guid id)
        {
            DbAttack attack = myDbConnection.Table <DbAttack>().FirstOrDefault(a => a.Id == id);

            return(attack);
        }
 public void AddAttack(DbAttack attack)
 {
     myDbConnection.Insert(attack);
 }