public void AppointmentAcceptedByOwner(AppointmentDTO appointmentDTO) { var appointmentNotification = _iAppointmentBus.UpdateAppointmentAcceptedByOwner(appointmentDTO); var send = JsonConvert.SerializeObject(appointmentNotification); _clients.FirstOrDefault(r => ((AppointmentWebSocketHandler)r)._userId == appointmentDTO.InitiatorId).Send(send); }