Beispiel #1
0
        public bool UpdateCarList(int carListId, CarListTypeEnum updatedCarListType)
        {
            KomodoGreenList existingCarList = GetCarListById(carListId);

            if (existingCarList != null)
            {
                existingCarList.CarListType = updatedCarListType;
                return(true);
            }
            return(false);
        }
Beispiel #2
0
 public KomodoGreenList(CarListTypeEnum carListType)
 {
     CarListType = carListType;
 }
Beispiel #3
0
 public KomodoGreenList(CarListTypeEnum carListType, List <KomodoGreen> carList)
 {
     CarListType = carListType;
     CarList     = carList;
 }