public async Task GetCars_Test() { var dto = new PagedAndSortedResultRequestDto(); var output = await _carAppService.GetAll(dto); output.Items.Count.ShouldBe(0); }
public IHttpActionResult GetAll() { var cars = _carService.GetAll().Count(); return(Ok(cars)); }