Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

15 rindas
469B

  1. namespace Campaign_Tracker.Server.ElectionCycles;
  2. public sealed record ElectionCycleJobSaveResult
  3. {
  4. public bool Saved { get; init; }
  5. public string? Error { get; init; }
  6. public ElectionCycleJob? Job { get; init; }
  7. public static ElectionCycleJobSaveResult Success(ElectionCycleJob job) =>
  8. new() { Saved = true, Job = job };
  9. public static ElectionCycleJobSaveResult Failure(string error) =>
  10. new() { Saved = false, Error = error };
  11. }

Powered by TurnKey Linux.