yavsccli target

This commit is contained in:
Paul Schneider 2021-03-10 01:41:31 +00:00
commit f39d6c48c5
15 changed files with 85 additions and 107 deletions

View file

@ -8,15 +8,12 @@ namespace Yavsc.ViewComponents
{
public class CalendarViewComponent : ViewComponent
{
readonly ApplicationDbContext _dbContext;
readonly ICalendarManager _manager;
public CalendarViewComponent (
ApplicationDbContext dbContext,
ICalendarManager manager)
{
_manager = manager;
_dbContext = dbContext;
}
public async Task<IViewComponentResult> InvokeAsync (