public IActionResult disable(long partners_id) { try { _partnersService.disable(partners_id); AlertHelper.setMessage(this, "Partners disabled successfully.", messageType.success); } catch (Exception ex) { AlertHelper.setMessage(this, ex.Message, messageType.error); } return(RedirectToAction(nameof(Index))); }