Update AppName
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user