示例#1
0
 public void Load()
 {
     Settings = _fileIO.Read(typeof(T), _filePath) as T;
 }
示例#2
0
        public Task <FileStreamResult> Donwload(string filename) => Task.Run(() => {
            var stream = _fileIO.Read(filename);

            return(File(stream, "application/octet-stream", filename));
        });