﻿using Microsoft.AspNetCore.Authorization;

namespace JiShe.CollectBusEPO.Controllers
{
    public class HomeController : AbpController
    {
        private readonly ILogger<HomeController> _logger;
        private readonly IConfiguration configuration;

        public HomeController(ILogger<HomeController> logger, IConfiguration configuration)
        {
            _logger = logger;
            this.configuration = configuration;
        }

        public ActionResult Index()
        {
            return Redirect("/Monitor");
        }

        /// <summary>
        /// �������
        /// </summary>
        /// <returns></returns>
        [HttpGet]
        public IActionResult Health()
        {
            return Ok();
        } 
    }
}
