예제 #1
0
        public async Task GetCars_Test()
        {
            var dto    = new PagedAndSortedResultRequestDto();
            var output = await _carAppService.GetAll(dto);

            output.Items.Count.ShouldBe(0);
        }
예제 #2
0
        public IHttpActionResult GetAll()
        {
            var cars = _carService.GetAll().Count();

            return(Ok(cars));
        }