Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

24 lines
739B

  1. namespace Campaign_Tracker.Server.Municipalities;
  2. public interface IMunicipalityProfileRepository
  3. {
  4. Task<MunicipalityProfileSaveResult> CreateAsync(
  5. string jCode,
  6. string? displayName,
  7. string actorIdentity,
  8. CancellationToken cancellationToken = default);
  9. Task<MunicipalityProfileSaveResult> UpdateAsync(
  10. string profileId,
  11. string? displayName,
  12. string actorIdentity,
  13. CancellationToken cancellationToken = default);
  14. Task<MunicipalityProfileView?> GetByIdAsync(
  15. string profileId,
  16. CancellationToken cancellationToken = default);
  17. Task<IReadOnlyList<MunicipalityProfileView>> GetAllAsync(
  18. CancellationToken cancellationToken = default);
  19. }

Powered by TurnKey Linux.