Esempio n. 1
0
        public IActionResult Index()
        {
            TextLog logFile = new TextLog();

            logFile.WriteLog("You are in the Index action.");
            logFile.CloseLog();

            return(View());
        }
Esempio n. 2
0
        public IActionResult Contact()
        {
            ViewData["Message"] = "Your contact page.";

            TextLog logFile = new TextLog();

            logFile.WriteLog("You are in the Contact action.");
            logFile.CloseLog();

            return(View());
        }
Esempio n. 3
0
        public IActionResult About()
        {
            ViewData["Message"] = "Your application description page.";

            TextLog logFile = new TextLog();

            logFile.WriteLog("You are in the About action.");
            logFile.CloseLog();

            return(View());
        }