Exemplo 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;
        }
Exemplo n.º 2
0
 public Task UpdateNotificationEmailSentAsync(AlaCarteAssignmentModel email)
 {
     return UpdateNotificationEmailSentAsync(email, CancellationToken.None);
 }
Exemplo n.º 3
0
 public Task UpdateNotificationEmailSentAsync(AlaCarteAssignmentModel email, CancellationToken token)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 4
0
 public void UpdateNotificationEmailSent(AlaCarteAssignmentModel email)
 {
     throw new NotImplementedException();
 }