public IActionResult OnPost()
        {
            if (ModelState.IsValid)
            {
                Controller.ABCPOS ABCHardware = new Controller.ABCPOS();

                ABCCustomer = ABCHardware.FindCustomer(CustomerName);

                foundcustomer = ABCCustomer.CustomerName != null ? true : false;
            }
            return(Page());
        }
Esempio n. 2
0
        public void OnGet()
        {
            //int id = int.Parse(Request.Query["id"].ToString());

            ABCCustomer = ABCHardware.FindCustomer(customerName);
        }