principalement du format de code

This commit is contained in:
2020-09-12 01:11:30 +01:00
parent 3a6f16e3bb
commit 2cd531c242
87 changed files with 510 additions and 550 deletions

View File

@ -13,19 +13,11 @@ namespace Yavsc.ViewComponents
{
public class BlogIndexViewComponent: ViewComponent
{
ILogger _logger;
private ApplicationDbContext _context;
private IAuthorizationService _authorizationService;
private readonly ApplicationDbContext _context;
public BlogIndexViewComponent(
ApplicationDbContext context,
UserManager<ApplicationUser> userManager,
ILoggerFactory loggerFactory,
IAuthorizationService authorizationService,
IOptions<SiteSettings> siteSettings)
ApplicationDbContext context)
{
_context = context;
_logger = loggerFactory.CreateLogger<BlogIndexViewComponent>();
_authorizationService = authorizationService;
}
// Renders blog index ofr the specified user by name