Exemplo n.º 1
0
        public async Task <IActionResult> OnPostAsync()
        {
            if (!ModelState.IsValid)
            {
                return(Page());
            }

            try
            {
                await _fullterminalsystem.InsertFullTerminalSystem(fullTerminalSystemPOS);
            }
            catch (System.Exception)
            {
                throw;
            }

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