示例#1
0
 public ShowOverviewViewModel(RundownEduDBContext db, Show model)
 {
     Id        = model.Id;
     Title     = model.Title;
     Color     = model.Color;
     FontColor = model.FontColor;
     model.Rundowns.ForEach(x => Rundowns.Add(new RundownOverviewViewModel(x)));
 }
示例#2
0
 public SegmentController(RundownEduDBContext context)
 {
     _context = context;
 }
 public StoryController(RundownEduDBContext context)
 {
     _context = context;
 }
示例#4
0
 public RundownController(RundownEduDBContext context)
 {
     db = context;
 }