Exemplo n.º 1
0
 public string MultipleFactsToJson(IReadOnlyCollection <IMultipleTrackersFact> facts)
 {
     return(JsonConverterEx.SerializeObject(new
     {
         GeneralFacts = facts
     }));
 }
Exemplo n.º 2
0
 public string SingleFactsToJson(IReadOnlyCollection <ISingleTrackerFact> facts)
 {
     return(JsonConverterEx.SerializeObject(new
     {
         SpecificFacts = facts
     }));
 }