User1858009984 posted
Hi,
I am not getting the intellisense for Request.CreateResponse in Web.Api for VS 2017. Below attached my code.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Net.Http;
using Masdar_Service.Models;
using System.Net;
using System.Web.Http;
using System.Net.Http.Formatting;
namespace Test_Service.Controllers
{
public class TestController : Controller
{
public HttpResponseMessage Get()
{
using (Entities entity = new Entities())
{
return Request.CreateResponse(HttpStatusCode.OK, entity.Details.ToList());
}
}
}
}