public CreateModel(ApplicationDbContext context, StoriesRepository storiesRepo, ChaptersRepository chaptersRepo, NotificationsRepository notificationsRepo) { _context = context; _storiesRepo = storiesRepo; _chaptersRepo = chaptersRepo; _notificationsRepo = notificationsRepo; }
public EditModel(ApplicationDbContext context, StoriesRepository storiesRepo, ChaptersRepository chaptersRepo) { _context = context; _storiesRepo = storiesRepo; _chaptersRepo = chaptersRepo; }
public ChapterModel(ChaptersRepository chaptersRepo) { _chaptersRepo = chaptersRepo; }