public void VehicleStatusChecker_Test()
        {
            try
            {
                var serviceProvider = new ServiceCollection()
                                      .AddSingleton <IVehicleBAL, VehicleBAL>()
                                      .AddSingleton <IVehicleRepository, VehicleRepository>()
                                      .BuildServiceProvider();

                VehicleDataController vehicleDataController = new VehicleDataController(null, serviceProvider.GetService <IVehicleBAL>());

                vehicleDataController.VehicleStatusUpdate(1, true);

                System.Threading.Thread.Sleep(65000);

                Vehicle x_Vehicle = vehicleDataController.VehiclesById(1);
                if (x_Vehicle.Status == false)
                {
                    Assert.IsAssignableFrom <Vehicle>(x_Vehicle);
                }
                else
                {
                    Assert.True(false);
                }
            }
            catch (Exception ex)
            {
                Assert.True(false);
            }
        }
        public void VehicleStatusUpdate_Test()
        {
            try
            {
                var serviceProvider = new ServiceCollection()
                                      .AddSingleton <IVehicleBAL, VehicleBAL>()
                                      .AddSingleton <IVehicleRepository, VehicleRepository>()
                                      .BuildServiceProvider();

                VehicleDataController vehicleDataController = new VehicleDataController(null, serviceProvider.GetService <IVehicleBAL>());
                bool is_success = vehicleDataController.VehicleStatusUpdate(1, true);
                Assert.True(is_success);
            }
            catch (Exception ex)
            {
                Assert.True(false);
            }
        }