Update AppName

This commit is contained in:
Michał Zieliński
2023-08-21 12:30:18 +02:00
parent 711fe42c04
commit d51abf90ee
5 changed files with 14 additions and 3 deletions

View File

@@ -11,7 +11,7 @@ namespace WebAPI.Controllers
{
[ApiController]
[Route("api/[controller]")]
[Authorize]
public class LayersController : Controller
{
private readonly AppDbContext db;
@@ -161,6 +161,15 @@ namespace WebAPI.Controllers
AddLayer(layer, Guid.Parse("F392209E-123E-4651-A5A4-0B1D6CF9FF9D"));
return Ok("OK");
}
[HttpGet]
[Route("checkDates")]
public IActionResult checkDates()
{
var warsawTZ = TimeZoneInfo.FindSystemTimeZoneById("Singapore Standard Time");
DateTime date = DateTime.UtcNow;
return Ok(date);
}
//