Exemple #1
0
        // GET: api/Laboratorios/5
        public HttpResponseMessage Get(int id)
        {
            var laboratorioBo = new LaboratorioBo();

            Laboratorio obj = laboratorioBo.ObterPorId(id);

            var response = Request.CreateResponse(HttpStatusCode.OK, obj);

            return(response);
        }