コード例 #1
0
ファイル: Create.cshtml.cs プロジェクト: SeppPenner/Ogma
 public CreateModel(ApplicationDbContext context, StoriesRepository storiesRepo, ChaptersRepository chaptersRepo, NotificationsRepository notificationsRepo)
 {
     _context           = context;
     _storiesRepo       = storiesRepo;
     _chaptersRepo      = chaptersRepo;
     _notificationsRepo = notificationsRepo;
 }
コード例 #2
0
ファイル: Edit.cshtml.cs プロジェクト: SeppPenner/Ogma
 public EditModel(ApplicationDbContext context, StoriesRepository storiesRepo, ChaptersRepository chaptersRepo)
 {
     _context      = context;
     _storiesRepo  = storiesRepo;
     _chaptersRepo = chaptersRepo;
 }
コード例 #3
0
ファイル: Chapter.cshtml.cs プロジェクト: SeppPenner/Ogma
 public ChapterModel(ChaptersRepository chaptersRepo)
 {
     _chaptersRepo = chaptersRepo;
 }