Skip to content

IAgencyService

IAgencyService declares a service contract in the Agencies area, implemented outside this library (most likely in SAIF.Services, per the declare-here, enforce-elsewhere pattern documented for this library)*.

Purpose

  • Declares the operations that a SAIF.Services implementation must provide for the Agencies area*.

Context

  • Namespace: SAIF.Core.Contracts.Agencies
  • Kind: Interface
  • Assembly/package: SAIF.Core (NuGet package SAIF.SAIFCode.Core)

Public members

Member Signature Purpose
GetAgencySearchResults IEnumerable<AgencySearchResult> GetAgencySearchResults() Returns agency search results*.
GetAgency Agency GetAgency(long agencyId) Returns agency, given agencyId*.
GetEmailListForAgencyNotification ReadOnlyCollection<string> GetEmailListForAgencyNotification(long agencyId) Returns email list for agency notification, given agencyId*.
UpdateEmailNotification bool UpdateEmailNotification(long agencyId, long userSeqNumber, bool isUserNotified) Updates email notification, given agencyId, userSeqNumber, isUserNotified*.
UpdateAgencyPaperless bool UpdateAgencyPaperless(long agencyId, bool paperless, string updateUserId) Updates agency paperless, given agencyId, paperless, updateUserId*.
GetAgencyActiveUserStatus bool GetAgencyActiveUserStatus(long agencyId) Returns agency active user status, given agencyId*.
GetRevertingAgencies ReadOnlyCollection<Agency> GetRevertingAgencies() Returns reverting agencies*.

Note: Statements marked with * were inferred from code structure, naming conventions, or contextual evidence where direct confirmation was not available in source artifacts. Statements marked with ** could not be confirmed; treat as unknown until verified.

Sources

  • Core/SAIF.Core/Contracts/Agencies/IAgencyService.cs