コード例 #1
0
        public HttpResponseMessage PostRequestNewPassword([FromBody] string text)
        {
            string[]            arr      = text.Split('-');
            string              email    = arr[0];
            string              answer   = arr[1];
            var                 question = DonorRepository.sendNewPassword(email, answer);
            HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, question);

            return(response);
        }