/// <summary> /// Constructs repository with the dbdontext /// </summary> /// <param name="context"></param> public UserRepository(NotTwitterDbContext context) { _context = context ?? throw new NullReferenceException(); }
public CommentRepository(NotTwitterDbContext db) { _context = db ?? throw new NullReferenceException(); }