Esempio n. 1
0
 public CreateModel(SacramentMeetingPlanner.Data.SacramentMeetingPlannerContext context)
 {
     _context = context;
     Program  = new Models.Program
     {
         DateOfMeeting = DateTime.Now,
         Participants  = new List <Participant>
         {
             new Participant(),
             new Participant(),
             new Participant(),
             new Participant(),
             new Participant
             {
                 ParticipantRole = ParticipantRoles.Speaker.ToString()
             }
         }
     };
 }
 public IndexModel(SacramentMeetingPlanner.Data.SacramentMeetingPlannerContext context)
 {
     _context = context;
 }
 public DeleteModel(SacramentMeetingPlanner.Data.SacramentMeetingPlannerContext context)
 {
     _context = context;
 }
Esempio n. 4
0
 public DisplayProgramModel(SacramentMeetingPlanner.Data.SacramentMeetingPlannerContext context)
 {
     _context = context;
 }