Skip to content

Commit

Permalink
Add Bucket provider in ServiceCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
hros18 committed Apr 22, 2021
1 parent 1967890 commit 2f1c857
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public static IServiceCollection AddBlogProviders(this IServiceCollection servic
services.AddScoped<IAuthorProvider, AuthorProvider>();
services.AddScoped<IBlogProvider, BlogProvider>();
services.AddScoped<IPostProvider, PostProvider>();
services.AddScoped<IStorageProvider, StorageProvider>();
services.AddScoped<IStorageProvider, BucketProvider>();
services.AddScoped<IFeedProvider, FeedProvider>();
services.AddScoped<ICategoryProvider, CategoryProvider>();
services.AddScoped<IAnalyticsProvider, AnalyticsProvider>();
Expand Down
9 changes: 7 additions & 2 deletions src/Blogifier.Core/Providers/StorageProvider.cs
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,11 @@ string GetImgSrcValue(string imgTag)
return imgTag.Substring(srcStart, srcEnd - srcStart);
}

#endregion
}
public Task<string> DownloadFile(string keyName)
{
throw new NotImplementedException();
}

#endregion
}
}

0 comments on commit 2f1c857

Please sign in to comment.