title: How to merge Angular code with C# and connect it to sql db
body: <p>Here is the folder structure of my project in visual studio</p>
  
  <pre><code>UI
  -&gt;App
      --&gt;Directive
      --&gt;Service
      --&gt;Utilities
  -&gt;Content
  -&gt;Controllers
  -&gt;Models
  -&gt;Scripts
  -&gt;Views
  </code></pre>
  
  <p>All the angular code is inside the app->directive folder. Scripts are inside the scripts folder and css inside the content folder. </p>
  
  <p>I have worked on the front end part where the user selects inputs from dropdown. My query is how can i pass this dropdown value to backend using C#. and where do i have to create the C# file in the folder structure. How will i link the C# file with the angular code. </p>
  
  <p>Once this is done, i have to interact with the SQL database too. I dont know where to put the sql code. The folder structure and interaction is confusing for me. Can someone please give me a simple example of how i can get started with. It will be great help. </p>
  
  <p>I tried searching online and there are tons of different examples and its getting me more confused. Please help me !!!</p>