So I have some images stored in the database. They consist of both png and svg images. But I cannot display the svg images but the png images are displayed correctly.
public ActionResult GetImage() {
// some code here
return new FileContentResult(image, "image/png");
}
How can I display both svg and png?