<commit_before>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using TopGearApi.DataAccess;
using TopGearApi.Domain.Models;
using TopGearApi.Models;

namespace TopGearApi.Controllers
{
    public class CarroController : TController<Carro>
    {
        private static CarroDA DA = new CarroDA();
        
        [HttpGet]
        public IEnumerable<Carro> GetByItem(int id)
        {
            return DA.GetByItem(id);
        }

        [HttpGet]
        public IEnumerable<Carro> GetDisponiveis()
        {
            return DA.GetDisponiveis();
        }

        [HttpGet]
        public IEnumerable<Carro> GetDisponiveisByAgencia(int id)
        {
            return DA.GetDisponiveisByAgencia(id);
        }
    }
}<commit_msg>Update CarroController.cs<commit_after>﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Net.Http;
using System.Web.Http;
using TopGearApi.DataAccess;
using TopGearApi.Domain.Models;
using TopGearApi.Models;

namespace TopGearApi.Controllers
{
    public class CarroController : TController<Carro>
    {
        [HttpGet]
        public IEnumerable<Carro> GetByItem(int id)
        {
            return CarroDA.GetByItem(id);
        }

        [HttpGet]
        public IEnumerable<Carro> GetDisponiveis()
        {
            return CarroDA.GetDisponiveis();
        }

        [HttpGet]
        public IEnumerable<Carro> GetDisponiveisByAgencia(int id)
        {
            return CarroDA.GetDisponiveisByAgencia(id);
        }
    }
}
{'fraction_non_alphanumeric': 0.08887507768800497, 'fraction_numerical': 0.0, 'mean_word_length': 2.492407809110629, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6875644', 'n_tokens_mistral': 508, 'n_tokens_neox': 518, 'n_words': 95}