Пример #1
0
        public void UpdateCarWithUsername(Int16 carid, string username)
        {
            try {
                DBController dbc = new DBController();
                dbc.UpdateCarWithUsername(carid, username);
                dbc.Close();
            } catch(Exception e) {
                Console.WriteLine(e.ToString());
                DBController dbc = new DBController();
                dbc.AddLog("UpdateCarWithUsername?carid={carid}&username={username}", carid, null, null, e.ToString().Substring(0, Math.Min(e.ToString().Count(), 254)), username);
                dbc.Close();
            }

            return;
        }