Exemple #1
0
        public void AddInfringement(string infringement, int points)
        {
            InfringementType it = new InfringementType();

            it.Infringement = infringement;
            it.Points       = decimal.ToInt32(points);

            it.Add();

            it = null;

            System.Windows.Forms.MessageBox.Show("Registro grabado");
        }