Exemple #1
0
        protected async Task InitializeRepositoryAsync()
        {
            if (repositoryManager == null)
            {
                repositoryManager = ServiceContainer.Resolve <IRepositoryManager>();
            }

            if (!repositoryManager.IsInitialized)
            {
                await repositoryManager.InitializeAsync().ConfigureAwait(false);
            }
        }