Skip to content

Commit

Permalink
Fix for correct repositories between Users and Roles
Browse files Browse the repository at this point in the history
  • Loading branch information
wallaceiam committed Sep 14, 2016
1 parent ac13391 commit 5b5afad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions MyMojo.AspNet.Identity.MongoDb/UserStore.cs
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,8 @@ public UserStore(TContext context, IDbStoreOptions options, IdentityErrorDescrib
/// </summary>
public IdentityErrorDescriber ErrorDescriber { get; set; }

private IMongoCollection<TRole> RolesCollection { get { return Context.GetCollection<TRole>(Options.UserCollection); } }
private IMongoCollection<TUser> UsersCollection { get { return Context.GetCollection<TUser>(Options.RoleCollection); } }
private IMongoCollection<TRole> RolesCollection { get { return Context.GetCollection<TRole>(Options.RoleCollection); } }
private IMongoCollection<TUser> UsersCollection { get { return Context.GetCollection<TUser>(Options.UserCollection); } }

/// <summary>
/// Creates a new entity to represent a user role.
Expand Down

0 comments on commit 5b5afad

Please sign in to comment.