public AuthService(IBlogSystemContext ctx, IBlogSystemData data, UserManager <User> userManager, IPasswordHasher <User> passwordHasher, IOptions <AppConfiguration> appConfiguration) { _ctx = ctx; _data = data; _userManager = userManager; _passwordHasher = passwordHasher; _appConfiguration = appConfiguration; }
public BlogSystemData(IBlogSystemContext context) { this.context = context; this.repositories = new Dictionary<Type, object>(); }
public BlogService(IBlogSystemContext context, IBlogSystemData data) { _context = context; _data = data; }
public BlogSystemData(IBlogSystemContext context) { this.context = context; this.repositories = new Dictionary <Type, object>(); }
public GenericRepository(IBlogSystemContext context) { this.context = context; }