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