public ActionResult AcknowledgeNotification(int notificationId, int messageId) { try { ArgumentsValidator.Validate(nameof(notificationId), notificationId); _notifyService.AcknowledgeNotification(notificationId); _messagingService.AcknowledgeMessage(messageId); } catch (Exception ex) { Log.Error(ex, ex.Message); } return(StatusCode(200)); }