private void SetDependencies <T>(T vehicle)
 {
     userDialogsManager = ConfigureDependencies().Resolve <IUserDialogsHelper>();
     userDialogsManager.UserDialogsInit(this);
     if (vehicle.GetType() == typeof(Car))
     {
         carServiceDomain = ConfigureDependencies().Resolve <CarServiceDomain>();
     }
     if (vehicle.GetType() == typeof(Motorcycle))
     {
         motorcycleServiceDomain = ConfigureDependencies().Resolve <MotorcycleServiceDomain>();
     }
 }
 private void SetDependencies()
 {
     motorcycleServiceDomain = ConfigureDependencies().Resolve <MotorcycleServiceDomain>();
     userDialogsManager      = ConfigureDependencies().Resolve <IUserDialogsHelper>();
     userDialogsManager.UserDialogsInit(this);
 }