Пример #1
0
        public void TestGetAll()
        {
            var retorno = _carroServices.Get();

            Assert.NotNull(retorno);
            Assert.NotNull(retorno.Count() > 0);
        }
Пример #2
0
 public ActionResult<List<CarroDTO>> Get(string brand = null, string adress = null) =>
     _carService.Get(brand, adress);
Пример #3
0
 public ActionResult <List <Carro> > Get() =>
 _carroService.Get();