private MainCameraViewModel ConstructMainCameraViewModel(DataAccessLayer dataAccessLayer, string uniqueId,
     string vehicleNumber)
 {
     try
     {
         var dbImageResult = dataAccessLayer.GetImageResult(uniqueId);
         return new MainCameraViewModel(vehicleNumber, dbImageResult.ChasisImage, dbImageResult.CarFullImage,
             dbImageResult.DriverImage);
     }
     catch (Exception exception)
     {
         Logger.Error("ConstructMainCameraViewModel failed:", exception);
     }
     return null;
 }
 private MainCameraViewModel ConstructMainCameraViewModel(DataAccessLayer dataAccessLayer, string uniqueId,
     string vehicleNumber)
 {
     var dbImageResult = dataAccessLayer.GetImageResult(uniqueId);
     return new MainCameraViewModel(vehicleNumber, dbImageResult.ChasisImage, dbImageResult.CarFullImage, dbImageResult.DriverImage);
 }