| 123456789101112131415161718 |
- namespace Diligent.WebAPI.Host.Controllers.V1
- {
- [ApiVersion("1.0")]
- [Route("v{version:apiVersion}/files")]
- [ApiController]
- public class FilesController : ControllerBase
- {
- private readonly IFileService _fileService;
-
- public FilesController(IFileService fileService)
- {
- _fileService = fileService;
- }
-
- [HttpGet]
- public async Task<IActionResult> GetAll() => Ok(await _fileService.GetAll());
- }
- }
|