public static EventListener Load(Guid Id) { try { return(FromData(Datastore.Get(DatastoreAisle, Id).Data)); } catch (Exception exception) { // LOG: LogDebug.ExceptionUnknown Logging.LogDebug(string.Format(SorentoLib.Strings.LogDebug.ExceptionUnknown, typeof(EventListener), exception.Message)); // EXCEPTION: Excpetion.EventListenerLoadGuid throw new Exception(string.Format(Strings.Exception.EventListenerLoadGuid, Id)); } }
public static Event Load(Guid Id) { try { return(FromData(Datastore.Get(Id).Data)); } catch (Exception exception) { // LOG: LogDebug.ExceptionUnknown SorentoLib.Services.Logging.LogDebug(string.Format(SorentoLib.Strings.LogDebug.ExceptionUnknown, "DIDIUS.EVENTLISTENER", exception.Message)); // EXCEPTION: Excpetion.EventLoadGuid throw new Exception(string.Format(Strings.Exception.EventLoadGuid, Id)); } }