Beispiel #1
0
        private static async Task <DL.Models.Product> LoadProduct(Guid productId)
        {
            try
            {
                var product = await ProductContext.LoadStockProduct(productId).ConfigureAwait(false);

                return(SetProduct(product));
            }
            catch (Exception exception)
            {
                // Log exception
                throw;
            }
        }