Esempio n. 1
0
 public OperationResult <Dictionary <Int16, String> > GetSignalSubscriptionTypes()
 {
     return(InvokeOperations.InvokeOperation(() =>
     {
         Logger.Trace("Get signal subscription types");
         var result = signalServiceRepository.GetSignalSubscriptionTypes();
         return result.ToDictionary(type => type.id, type => type.name);
     }));
 }