/// <summary> /// Constructor. /// </summary> /// <param name="userDb">UserContext.</param> public UserRepository(UserContext userDb) { this.userDb = userDb ?? new UserContext(); }