Ejemplo n.º 1
0
 public EventRepository(SmartProctorDbContext db) : base(db)
 {
 }
Ejemplo n.º 2
0
 public QuestionRepository(SmartProctorDbContext db) : base(db)
 {
 }
Ejemplo n.º 3
0
        // public BaseRepository() : this(null)
        // {
        // }

        /// <summary>
        /// Constructor, the database context will be passed with dependency injection
        /// </summary>
        /// <param name="db">The database context</param>
        public BaseRepository(SmartProctorDbContext db)
        {
            DbContext = db;
        }
Ejemplo n.º 4
0
 public ExamUserRepository(SmartProctorDbContext db) : base(db)
 {
 }
Ejemplo n.º 5
0
 public AnswerRepository(SmartProctorDbContext db) : base(db)
 {
 }