Example #1
0
 public static string GetId(RssItemState newState)
 {
     return(newState switch
     {
         RssItemState.Rejected => "477406ca-9839-4673-84d1-17987b0198e7",
         RssItemState.Undecided => "eafdaa2b-a1f8-4883-b58a-5de451e7437d",
         RssItemState.Accepted => "f385bbb8-6df2-4359-b4b7-4196cce0c4fc",
         RssItemState.Archived => "cad27543-8029-4efa-8bb7-abec9868064e",
         _ => throw new NotImplementedException()
     });
 public static string GetId(RssItemState newState)
 {
     return(newState switch
     {
         RssItemState.Rejected => "46d73fe1-77c4-446b-82f8-eb1fbae7a3ff",
         RssItemState.Undecided => "3567c0e8-4e29-44e1-8d20-ed50105306a0",
         RssItemState.Accepted => "2e09db60-8ac2-4d29-879a-670a279a9c80",
         RssItemState.Archived => "b2830422-8138-4456-9bac-65872a3266e0",
         _ => throw new NotImplementedException()
     });