通常我会return HttpNotFound(),但我的方法返回 aFileStreamResult并且我得到
无法将类型“System.Web.Mvc.HttpNotFoundResult”隐式转换为“System.Web.Mvc.FileStreamResult”
当我尝试构建时。文件结果是否有替代版本?
通常我会return HttpNotFound(),但我的方法返回 aFileStreamResult并且我得到
无法将类型“System.Web.Mvc.HttpNotFoundResult”隐式转换为“System.Web.Mvc.FileStreamResult”
当我尝试构建时。文件结果是否有替代版本?