public async Task <IActionResult> ChangeStatus(int id) { var result = await _paymentService.ChangeStatus(id); if (!result.IsSuccess) { return(BadRequest(result)); } return(Ok(result)); }