示例#1
0
 public HttpResponseMessage GetTestType()
 {
     return(Request.CreateResponse(HttpStatusCode.OK, _iBTestType.GetTestType()));
 }
示例#2
0
        public async Task <HttpResponseMessage> GetTestType()
        {
            var response = Request.CreateResponse(HttpStatusCode.OK, JsonConvert.SerializeObject(_iBTestType.GetTestType()));

            return(response);
        }