public ImminentReminderModel(Vehicle vehicle, Reminder reminder, bool isOverdue)
 {
     IsOverdue = isOverdue;
     _vehicle = vehicle;
     _reminder = reminder;
     _summary = new ReminderSummaryModel(reminder,isOverdue);
 }
 public ImminentReminderModel(Vehicle vehicle, Reminder reminder, bool isOverdue)
 {
     IsOverdue = isOverdue;
     _vehicle  = vehicle;
     _reminder = reminder;
     _summary  = new ReminderSummaryModel(reminder);
 }
Esempio n. 3
0
        public static MvcHtmlString DisplayDueOnText(this HtmlHelper helper, ReminderSummaryModel reminderSummary)
        {
            var msg = FormatDueOnText(reminderSummary.Reminder);

            return MvcHtmlString.Create(msg);
        }