public AccountRepository(JolijoberDbContext context, UserManager <AccountUser> userManager, SignInManager <AccountUser> signInManager, RoleManager <AccountRole> roleManager, JolijoberService contextmongodb) : base(context) { UserManager = userManager; SignInManager = signInManager; RoleManager = roleManager; this.contextmongodb = contextmongodb.MongoService.GetCollection <Identity>(PluralizationProvider.Pluralize(nameof(Identity))); }
protected JolijoberRepository(JolijoberService context) { Context = context.MongoService.GetCollection <T>(PluralizationProvider.Pluralize(typeof(T).Name)); }
public PostRepository(JolijoberService service, IHttpContextAccessor httpContextAccessor) : base(service) { this.httpContextAccessor = httpContextAccessor; }
public IdentityRepository(JolijoberService service) : base(service) { }