static void Main(string[] args)
        {
            ItemMasterProxy iprox = new ItemMasterProxy("2", "PROD");

            for (int i = 1; i < 50; i++)
            {
                var code    = (1000 + i).ToString();
                var desc    = $"Item {code}";
                var brand   = "Avenger";
                var model   = $"Justice{i}";
                var baseUOM = "UNIT";

                var id = iprox.InsertAsync(code, desc, brand, model, baseUOM, "*****@*****.**").Result;
                Console.WriteLine($"{id}");
            }

            foreach (var x in iprox.ListAsync().Result)
            {
                Console.WriteLine($"ID = {x.Id} Code = {x.Code} Name = {x.Description}");
            }
        }
        public async Task <IActionResult> OnPostAsync()
        {
            if (!ModelState.IsValid)
            {
                return(Page());
            }

            /*
             *   2 - Namespace in Datastore. It is used as TenantID in multi-tenant system here
             *   PROD - Environment. Can be Production, Testing, Development or etc
             */
            ItemMasterProxy iprox = new ItemMasterProxy("2", "PROD");

            await iprox.InsertAsync(
                Item.Code,
                Item.Description,
                Item.Brand,
                Item.Model,
                Item.BaseUOM,
                "*****@*****.**");

            return(RedirectToPage("/Item/Index"));
        }