public IEnumerable <Cliente> GetCliente() { try { return(clientesOps.GetAll()); } catch (Exception) { throw; } }
public ActionResult Get() { return(Ok( _ClientesService.GetAll() )); }
// GET: api/ClientesApi public IEnumerable <ClientesDto> Get() { return(clientesService.GetAll()); }