public IHttpActionResult Get(int id) { Empresa g = empresasService.Get(id); if (g == null) { return(NotFound()); } return(Ok(g)); }