public void Load() { Settings = _fileIO.Read(typeof(T), _filePath) as T; }
public Task <FileStreamResult> Donwload(string filename) => Task.Run(() => { var stream = _fileIO.Read(filename); return(File(stream, "application/octet-stream", filename)); });