public async Task <IActionResult> DeleteAsync(string[] id)
        {
            _iSysControllerService.Delete(a => id.Contains(a.Id));
            var result = await _unitOfWork.CommitAsync();

            return(new DeleteSuccessResult(result));
        }
        public async Task <ActionResult> Delete(object id)
        {
            _sysControllerService.Delete(id);

            await _unitOfWork.CommitAsync();

            return(new DeleteSuccessResult());
        }
 public ActionResult Delete(Guid id)
 {
     _sysControllerService.Delete(id);
     _unitOfWork.Commit();
     return(RedirectToAction("Index"));
 }