public async Task GetVehicles_AllVehicles_RetrunStatusCodeOK()
        {
            // Arrange
            var vehicleResponse = new List <VehicleResponse>
            {
                new VehicleResponse
                {
                    Id          = Guid.NewGuid(),
                    VehicleId   = 1,
                    Number      = "A-001",
                    Model       = "Honda City",
                    Description = "Blue Color"
                }
            };

            vehiclesService.GetVehicleListAsync().Returns(Task.FromResult(vehicleResponse));

            // Act
            var actionResult = await vehiclesController.GetVehicles();

            var objectResult = actionResult as OkObjectResult;

            //Assert
            Assert.NotNull(objectResult);
            Assert.Equal((int)System.Net.HttpStatusCode.OK, objectResult.StatusCode);
        }
        public async Task <IActionResult> GetVehicles()
        {
            var responses = await vehiclesService.GetVehicleListAsync();

            return(Ok(responses));
        }