Beispiel #1
0
        public async Task <ActionResult> Icon(string type)
        {
            var bytes = await FileManagerHelper.GetImageAsync(type);

            return(File(bytes, MimeHelper.GetMimeType(type)));
        }