I have a `HttpGet` method which returns XML file:

```
[HttpGet]
public async Task<IActionResult> Get()
{
    XmlDocument xmlDoc = new XmlDocument();
    await Task.Run(() => xmldoc.Load(_appEnvironment.WebRootPath + @"\\user.config"));
    return Ok(xmlDoc);
}

```

Colleague said to me that this piece of code has smell and that I interrupted SOLID principles, but he did not explained to me what exact I do wrong.

Guys, please review my code and please explain me what I've done wrong.