public static CarTypeModel ToObjectTyepId(DataRow reader)
        {
            CarTypeModel carTypeModel = new CarTypeModel();

            carTypeModel.carTypeId = int.Parse(reader[0].ToString());
            carTypeModel.carType   = reader[1].ToString();

            Debug.WriteLine("carTypeModel: " + carTypeModel.ToString());
            return(carTypeModel);
        }
        public static CarTypeModel ToObject(DataRow reader)
        {
            CarTypeModel carTypeModel = new CarTypeModel();

            carTypeModel.carType      = reader[0].ToString();
            carTypeModel.carFirm      = reader[1].ToString();
            carTypeModel.carModel     = reader[2].ToString();
            carTypeModel.carDayPrice  = decimal.Parse(reader[3].ToString());
            carTypeModel.carLatePrice = decimal.Parse(reader[4].ToString());
            carTypeModel.carYear      = int.Parse(reader[5].ToString());
            carTypeModel.carGear      = reader[6].ToString();
            carTypeModel.carTypeId    = int.Parse(reader[7].ToString());

            Debug.WriteLine("carTypeModel: " + carTypeModel.ToString());
            return(carTypeModel);
        }