public FictionsController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IFictionRepository fictionRepository, IChapterRepository chapterRepository, ApplicationDbContext context) { _context = context; _userManager = userManager; _signInManager = signInManager; _fictionRepository = fictionRepository; _chapterRepository = chapterRepository; }
public AccountController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, ILogger <AccountController> logger, ApplicationDbContext context, IFictionRepository fictionRepository) { _context = context; _userManager = userManager; _signInManager = signInManager; _logger = logger; _fictionRepository = fictionRepository; }
public ChaptersController( UserManager <ApplicationUser> userManager, SignInManager <ApplicationUser> signInManager, IFictionRepository fictionRepository, IChapterRepository chapterRepository, GoogleDriveRepository googleDriveRepository, ApplicationDbContext context) { _context = context; _userManager = userManager; _signInManager = signInManager; _fictionRepository = fictionRepository; _chapterRepository = chapterRepository; this.googleDriveRepository = googleDriveRepository; defaultImagePath = googleDriveRepository.GetImageLink("1LkV9rOL_nxy314zW6F0V-OKYIYfUeV99"); }
public HomeController(ILogger <HomeController> logger, IFictionRepository fictionRepository) { _logger = logger; _fictionRepository = fictionRepository; }