1
0
mirror of https://github.com/bitwarden/server synced 2026-01-14 06:23:46 +00:00
Files
server/src/Billing/Controllers/HomeController.cs
2019-07-26 11:59:42 -04:00

26 lines
482 B
C#

using System;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;
namespace Billing.Controllers
{
public class HomeController : Controller
{
[HttpGet("~/alive")]
[HttpGet("~/now")]
[AllowAnonymous]
public DateTime GetAlive()
{
return DateTime.UtcNow;
}
/*
[Authorize]
public IActionResult Index()
{
return View();
}
*/
}
}