Esempio n. 1
0
        public async Task OnGetAsync(string searchString)
        {
            var response = await _systemposservice.GetSystemPOS();

            SystemPosS = response.Data;
            var sys = from m in response.Data select m;

            if (!String.IsNullOrEmpty(searchString))
            {
                sys = sys.Where(s => s.TerminalID.Contains(searchString));
            }

            SystemPosS = sys.ToList();
        }
 public async Task <IActionResult> GetSystemPOS()
 {
     return(Ok(await _systemPOSService.GetSystemPOS()));
 }