btcpayserver/BTCPayServer/Controllers/HomeController.cs

39 lines
874 B
C#
Raw Normal View History

2017-09-13 08:47:34 +02:00
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using BTCPayServer.Models;
using NBitcoin.DataEncoders;
2017-09-13 08:47:34 +02:00
namespace BTCPayServer.Controllers
{
public class HomeController : Controller
{
public IActionResult Index()
{
2017-09-13 09:56:33 +02:00
return View("Home");
2017-09-13 08:47:34 +02:00
}
public IActionResult About()
{
ViewData["Message"] = "Your application description page.";
return View();
}
public IActionResult Contact()
{
ViewData["Message"] = "Your contact page.";
return View();
}
public IActionResult Error()
{
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
}
2017-09-13 08:47:34 +02:00
}
}