Ejemplo n.º 1
0
        public void GetProducts()
        {
            Task.Factory.StartNew(() =>
            {
                Products = MapHelper.MapProductModelToViewModel(_productQuery.GetProducts());

                Product = Products?.FirstOrDefault();
            });
        }