title: List Of Controllers And Classes In Asp.NET Web API
body: <p>I want to access all of controllers in my web api. Let's say I have 2 controllers and 2 classes;</p>
  
  <p><strong>Foo</strong>:</p>
  
  <pre><code>string fooId
  
  string fooName
  </code></pre>
  
  <p><strong>Bar</strong>:</p>
  
  <pre><code>string barId
  
  string barName
  </code></pre>
  
  <p><strong>Sample1Controller</strong>:</p>
  
  <pre><code>Get(int fooId)
  
  Post([FromBody] Foo foo)
  </code></pre>
  
  <p><strong>Sample2Controller</strong>:</p>
  
  <pre><code>Get(int barId)
  
  Post([FromBody] Bar bar)
  </code></pre>
  
  <p>I want to list of my controllers, Foo and Bar class with properties. How can I do this ?</p>
  
  <p><strong>Update</strong>:</p>
  
  <p>I want to create request and response classes for mobile apps. For example If I access these details remotely, I can create request and response classes for java or objective-c. </p>