Anil Kumar

Anil Kumar

  • 689
  • 1.2k
  • 129.3k

How to create Web API and get result in XML

Jun 18 2019 12:22 AM
I want to create a web api and want response like 
 
<School>
< Student>1</student>
< Teacher>1</Teacher>
< OfcBoy>1</OfcBoy>
< Book>1</Book> 
</School>
 
How i will create web api where student and Teacher will be pass from parameter. 

Answers (3)