diff --git a/Controllers/Blur.cs b/Controllers/ImageController.cs similarity index 95% rename from Controllers/Blur.cs rename to Controllers/ImageController.cs index 1f79152..8b1c4eb 100644 --- a/Controllers/Blur.cs +++ b/Controllers/ImageController.cs @@ -8,6 +8,7 @@ namespace TCC.Controllers public class ImageController : ControllerBase { private ImageService ImageService { get; set; } + public byte[] ImageData { get; set; } public ImageController(ImageService imageService) { diff --git a/Controllers/StatusController.cs b/Controllers/StatusController.cs new file mode 100644 index 0000000..fb1416e --- /dev/null +++ b/Controllers/StatusController.cs @@ -0,0 +1,17 @@ +using Microsoft.AspNetCore.Mvc; + +namespace TCC.Controllers +{ + [ApiController] + [Route("")] + public class StatusController : ControllerBase + { + public StatusController() { } + + [HttpGet("ok")] + public async Task ReturnOk() + { + return Ok(new { status = 200 }); + } + } +} diff --git a/tcc-app.csproj b/TCC.APP.csproj similarity index 100% rename from tcc-app.csproj rename to TCC.APP.csproj diff --git a/tcc-app.sln b/TCC.APP.sln similarity index 88% rename from tcc-app.sln rename to TCC.APP.sln index 3a2915b..e4b8d07 100644 --- a/tcc-app.sln +++ b/TCC.APP.sln @@ -3,7 +3,7 @@ Microsoft Visual Studio Solution File, Format Version 12.00 # Visual Studio Version 17 VisualStudioVersion = 17.6.33927.249 MinimumVisualStudioVersion = 10.0.40219.1 -Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "tcc-app", "tcc-app.csproj", "{FBD7660C-B50A-4776-AAEF-A1A0D0D253C3}" +Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TCC.APP", "TCC.APP.csproj", "{FBD7660C-B50A-4776-AAEF-A1A0D0D253C3}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution