Forums - C# Corner

Forum guidelines
rakesh parida

rakesh parida

  • 1.7k
  • 6
  • 58

call api put method from code behind

Oct 11 2018 5:40 AM
can anyone tell me how to call api method with multilple parameter from code behind.
for example 
 
 public HttpResponseMessage UpdateUnitilItems( list <user> user ,string name,int id,int departid)
{
}
 
i need to call this api method from aspx.cs .
button click 
 
please help me
thank you 

Answers (3)