public void Save <TData>(TData data, string fileName) => _fileProvider.Write(_serializationProvider.Serialize(data), GetFilePath(fileName));
public static System.Threading.Tasks.Task WriteFakeAsync(this IFileProviderSync provider, byte[] output, string fileName) { provider.Write(output, fileName); return(System.Threading.Tasks.Task.CompletedTask); }