public void TestGetAll() { var retorno = _carroServices.Get(); Assert.NotNull(retorno); Assert.NotNull(retorno.Count() > 0); }
public ActionResult<List<CarroDTO>> Get(string brand = null, string adress = null) => _carService.Get(brand, adress);
public ActionResult <List <Carro> > Get() => _carroService.Get();