Esempio n. 1
0
        private static AlaCarteAssignmentModel Load(IDataRecord record, AlaCarteAssignmentModel model = null)
        {
            model = model ?? new AlaCarteAssignmentModel();

            model.NotificationID = GetInt32(record, "NotificationID") ?? 0;
            model.EmployeeID = GetString(record, "EmployeeID");
            model.ToName = GetString(record, "EmployeeName");
            model.ToEmail = GetString(record, "EmployeeEmail");
            model.AssignedBy = GetString(record, "AssignedByName");
            model.AssignmentName = GetString(record, "QuizTopic");
            model.DueDate = GetDateTime(record, "DueDate") ?? DateTime.Today;
            
            return model;
        }
Esempio n. 2
0
 public Task UpdateNotificationEmailSentAsync(AlaCarteAssignmentModel email)
 {
     return UpdateNotificationEmailSentAsync(email, CancellationToken.None);
 }
Esempio n. 3
0
 public Task UpdateNotificationEmailSentAsync(AlaCarteAssignmentModel email, CancellationToken token)
 {
     throw new NotImplementedException();
 }
Esempio n. 4
0
 public void UpdateNotificationEmailSent(AlaCarteAssignmentModel email)
 {
     throw new NotImplementedException();
 }