Esempio n. 1
0
        public HttpResponseMessage Post([FromBody] Donor val)
        {
            var donors = DonorRepository.InsertDonor(val);
            HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, donors);

            return(response);
        }