title: Returning a file content from Web Api using HTTP GET request
body: <p>A client will be issuing a GET request to our web api service, and we need to respond to that request with the specified file. </p>
  
  <p>The file content will be as byte array like:</p>
  
  <pre><code>byte[] fileContent = Convert.FromBase64String(retrievedAnnotation.DocumentBody);
  </code></pre>
  
  <p><strong>How do I respond to GET request with the above file content as a file?</strong></p>
  
  <p>I've stubbed out a controller:</p>
  
  <pre><code>[Route("Note({noteGuid:guid})/attachment", Name = "GetAttachment")]
  [HttpGet]
  public async Task&lt;object&gt; GetAttachment(Guid noteGuid)
  {
  
      return new object();
  }
  </code></pre>
  
  <p><strong>Instead of the new object, how do I return the fileContent to the GET request?</strong></p>