public IActionResult PingTheUser(int transactionId, int userId) { _creditService.Ping(transactionId, userId); return(Ok(JsonConvert.SerializeObject(new { status = "Success", message = "User has been Pinged.", }))); }