[]
Returns a file in the specified fileStream with the full file name.
protected virtual IActionResult File(Func<Stream> streamGetter, string fullFileName)
Type | Name | Description |
---|---|---|
Func<Stream> | streamGetter | The function to get a Stream with the contents of the file. |
string | fullFileName | The file full name. |
Type | Description |
---|---|
IActionResult | A file result for the response. |