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