public ActionResult ViewLog(int id)
        {
            ErrorLogsDataHandler dataSource = new ErrorLogsDataHandler();
            ErrorLog             data       = dataSource.GetLogByFileName(id);

            return(View(data));
        }
Esempio n. 2
0
        public String ViewLog(int id)
        {
            ErrorLogsDataHandler dataSource = new ErrorLogsDataHandler();
            ErrorLog             data       = dataSource.GetLogByFileName(id);

            String log = data.fileName + "," + data.logType.typeName;

            return(log);

            //return data;
        }