public IEnumerable <Detail> Get() { using (API_TESTINGEntities entities = new API_TESTINGEntities()) { return(entities.Detail.ToList()); } }