---
title: IAgencyImageService
summary: API reference for IAgencyImageService.
status: draft
owner: SAIF Doc Gen
last_reviewed: 2026-09-24
library: SAIF.SAIFCode.Core
reference_type: package
---

# IAgencyImageService

`IAgencyImageService` declares a service contract in the Agencies / Imaging 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 / Imaging area*.

## Context
- Namespace: `SAIF.Core.Contracts.Agencies.Imaging`
- Kind: Interface
- Assembly/package: `SAIF.Core` (NuGet package `SAIF.SAIFCode.Core`)

## Public members
| Member | Signature | Purpose |
| --- | --- | --- |
| `CanUserSeeConfidentialImages` | `bool CanUserSeeConfidentialImages { get; set; }` | Represents the can user see confidential images associated with this IAgencyImageService*. |
| `CanUserSeeDeletedImages` | `bool CanUserSeeDeletedImages { get; set; }` | Represents the can user see deleted images associated with this IAgencyImageService*. |
| `CanUserEditImages` | `bool CanUserEditImages { get; set; }` | Represents the can user edit images associated with this IAgencyImageService*. |
| `GetImage` | `Image GetImage(long id)` | Returns image, given `id`*. |
| `GetImageFile` | `byte[] GetImageFile(long imageId)` | Returns image file, given `imageId`*. |
| `EditImage` | `bool EditImage(long id, ImageEdit image, IMessageContainer messageContainer)` | Handles edit image, given `id`, `image`, `messageContainer`*. |
| `GetCategories` | `IEnumerable<Category> GetCategories()` | Returns categories*. |

> **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/Imaging/IAgencyImageService.cs
