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

            return(View(data));
        }
Example #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;
        }