private async Task <ProductsRepository> GetOrCreateProductsRepositoryAsync() { if (_productsRepository == null) { _productsRepository = await ProductsRepository.CreateAsync(); } return(_productsRepository); }