public BaseManager(IServiceHelper helper) { RepositoryContext.SetHelper(() => helper); RepositoryContext.SetAuthenticationFnc(() => helper.GetAuthenticationManager()); }