public HttpResponseMessage GetAdaWarehouse() { var wh = warehouseRepository.GetAdaWarehouse(); var formatter = RequestFormat.JsonFormaterString(); return(Request.CreateResponse(HttpStatusCode.OK, wh, formatter)); }