public void SaveChallengeSubmission(ChallengeSubmission submission)
 {
     _dbContext.ChallengeSubmissions.Add(submission);
     _dbContext.SaveChanges();
 }
Exemple #2
0
 public Learner SaveOrUpdate(Learner learner)
 {
     _dbContext.Learners.Attach(learner);
     _dbContext.SaveChanges();
     return(learner);
 }
Exemple #3
0
 public void SaveOrUpdate(LearningObjectFeedback feedback)
 {
     _dbContext.LearningObjectFeedback.Attach(feedback);
     _dbContext.SaveChanges();
 }
 public void SaveNodeProgress(NodeProgress nodeProgress)
 {
     _dbContext.NodeProgresses.Add(nodeProgress);
     _dbContext.SaveChanges();
 }