public HttpResponseMessage PostBothQuestionsByEmail([FromBody] string email) { var question = DonorRepository.getSecurityQuestionByMail(email); HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, question); return(response); }
public HttpResponseMessage PostBothQuestionsByEmail([FromBody] string email) { var question = DonorRepository.getSecurityQuestionByMail(email); HttpResponseMessage response = Request.CreateResponse(HttpStatusCode.OK, question); return(response); }