public Notification CreateResultNotification(Notification notification, string selectedTransport) { _Trace.TraceEvent(TraceEventType.Verbose, -1, "CreateResultNotification"); CriticalResultsEntityManager crm = new CriticalResultsEntityManager(); NotificationEntity e = new NotificationEntity(); e.Notes = notification.Notes; e.CreationTime = DateTime.Now; e.State = notification.State; e.Result = crm.GetResultEntity(notification.Result.Uuid); e.UserTransport = crm.GetUserTransport(notification.Result.Receiver.UserName, selectedTransport); NotificationEntity ne = crm.CreateResultNotification(e); return new Notification(ne); }