Esempio n. 1
0
        /// <summary>
        /// Update information about car
        /// </summary>
        /// <param name="carId"></param>
        /// <param name="parameter"></param>
        /// <param name="value"></param>
        /// <returns></returns>
        public bool UpdateCarInfo(string carId, string parameter, string value)
        {
            bool updateSuccesful = false;

            if (CheckUpdateInput(carId, parameter, value).Equals("valid"))
            {
                updateSuccesful = carDataAccess.UpdateCarInfo(carId, parameter, value);
            }

            return(updateSuccesful);
        }