Ejemplo n.º 1
0
        public HttpResponseMessage PutPassword(int id, [FromBody] Donor val)
        {
            var donors = DonorRepository.UpdateDonorPassword(id, val);
            HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, donors);

            return(response);
        }