The second argument to the method File()must be a mime type. So say your file is a PDF file, it should work if you do this:
public FileResult ShowFile(long Id) {
DAL.Files.File file = new DAL.Files.FileAccess().GetById(Id);
return File(file.Content, "application/pdf");
}
, File(), :
public FileResult ShowFile(long Id) {
DAL.Files.File file = new DAL.Files.FileAccess().GetById(Id);
return File(file.Content, "application/pdf", "some-pdf-file.pdf");
}