26 lines
703 B
C#
26 lines
703 B
C#
using Microsoft.AspNetCore.Mvc;
|
|
using RSecurityBackend.Services;
|
|
using RSecurityBackend.Controllers;
|
|
using Microsoft.Extensions.Caching.Memory;
|
|
|
|
namespace RMuseum.Controllers
|
|
{
|
|
/// <summary>
|
|
/// Generic Image Provider
|
|
/// </summary>
|
|
[Produces("application/json")]
|
|
[Route("api/rimages")]
|
|
public class RImageController : RImageControllerBase
|
|
{
|
|
/// <summary>
|
|
/// constructor
|
|
/// </summary>
|
|
/// <param name="pictureFileService"></param>
|
|
/// <param name="memoryCache"></param>
|
|
public RImageController(IImageFileService pictureFileService, IMemoryCache memoryCache) : base(pictureFileService, memoryCache)
|
|
{
|
|
|
|
}
|
|
}
|
|
}
|