public EventUnitOfWork(EventContext context) { this.context = context; Events = new EventRepository(context); Users = new UserRepository(context, new UserManager<AppUser, string>(new UserStore<AppUser>(context))); Invites = new InviteRepository(context); InviteLinks = new InviteLinkRepository(context); }
public EventUnitOfWork(EventContext context) { this.context = context; Events = new EventRepository(context); Users = new UserRepository(context, new UserManager <AppUser, string>(new UserStore <AppUser>(context))); Invites = new InviteRepository(context); InviteLinks = new InviteLinkRepository(context); }