public ActionResult GetErrorImage(string key) { var dir = Server.MapPath("/Content/Images"); var path = System.IO.Path.Combine(dir, MemoryCacheManager.GetAppSettings(key ?? "jamuro:DefaultErrorImage")); return(base.File(path, "image/jpeg")); }