示例#1
0
        public HttpResponseMessage GetDonorByName(string dni)
        {
            var donors = DonorRepository.SearchDonorsByDni(dni);
            HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, donors);

            return(response);
        }