// GET: api/TBALocations
 public IHttpActionResult GetTBALocations()
 {
     using (EVOYDB eContext = new EVOYDB())
     {
         eContext.Configuration.ProxyCreationEnabled = false;
         return(Ok(eContext.TBALocations.ToList()));
     }
 }
        // GET: api/ContractConsultants
        //public IHttpActionResult GetContractConsultants()
        //{

        //    using (EVOYDB eContext = new EVOYDB())
        //    {
        //        eContext.Configuration.ProxyCreationEnabled = false;
        //        return Ok(eContext.ContractConsultants.ToList());
        //    }

        //}


        // GET: api/ContractConsultants
        public IHttpActionResult GetContractConsultants2()
        {
            using (EVOYDB eContext = new EVOYDB())
            {
                eContext.Configuration.ProxyCreationEnabled = false;

                var q = eContext.ContractConsultants
                        .Include(cc => cc.LocationsAssigned)
                        .ToList();


                return(Ok(q));
            }
        }