Beispiel #1
0
        public async Task <IActionResult> OnGetDelete(string ids)
        {
            try
            {
                string[] idArr = ids.Split(",");
                foreach (var id in idArr)
                {
                    var result = await _salesOrderService.DeleteByKeyAsync(new object[] { id });
                }
            }
            catch (Exception e)
            {
                return(GenJsonResult(-1, e.Message, 0));
            }

            return(GenJsonResult(1, "", null));
        }