{"comment":{"url":"https://api.github.com/repos/estervincensi/crescer-2015-2/comments/14200718","html_url":"https://github.com/estervincensi/crescer-2015-2/commit/73cb938d6ec2ecd4bc561e16c0755f95e06d23ae#commitcomment-14200718","id":14200718,"user":{"login":"bernardobrezende","id":526075,"avatar_url":"https://avatars.githubusercontent.com/u/526075?v=3","gravatar_id":"","url":"https://api.github.com/users/bernardobrezende","html_url":"https://github.com/bernardobrezende","followers_url":"https://api.github.com/users/bernardobrezende/followers","following_url":"https://api.github.com/users/bernardobrezende/following{/other_user}","gists_url":"https://api.github.com/users/bernardobrezende/gists{/gist_id}","starred_url":"https://api.github.com/users/bernardobrezende/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bernardobrezende/subscriptions","organizations_url":"https://api.github.com/users/bernardobrezende/orgs","repos_url":"https://api.github.com/users/bernardobrezende/repos","events_url":"https://api.github.com/users/bernardobrezende/events{/privacy}","received_events_url":"https://api.github.com/users/bernardobrezende/received_events","type":"User","site_admin":false},"position":42,"line":38,"path":"src/modulo-04-c-sharp/Locadora/Locadora.Web.MVC/Controllers/RelatorioController.cs","commit_id":"73cb938d6ec2ecd4bc561e16c0755f95e06d23ae","created_at":"2015-11-05T02:00:10Z","updated_at":"2015-11-05T02:00:10Z","body":"pq vc não utiliza os métodos de extensão lambda?\r\n\r\n`repositorio.BuscarTodos().Max(x => x.Preco)`\r\n`repositorio.BuscarTodos().Min(x => x.Preco)`\r\n`repositorio.BuscarTodos().Average(x => x.Preco)`\r\n\r\nou\r\n\r\n`repositorio.BuscarTodos().OrderByDescending(x => x.Preco).First()`\r\n`repositorio.BuscarTodos().OrderBy(x => x.Preco).First()`"}}