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