Hi,
I have 2 projects in single application
1) MVC (it has different localhost )
2) Webapi (it has different localhost )
Currently my requirement is that i am going to send value from controller to api and return api values
Could you please help me
public ActionResult Index()
{
string obj;
obj = "aaaa";
string obj1;
obj1 = Models.WebApiLogic.GetPostComplexTypeToCalAPI(obj, "GetValue", "EmployeeAPI");
return View();
}
public string GetValue(string name)
{
name = "bbbbb";
return name;
}