Example #1
0
        public async Task <string> LogInfo(EnttiyDto input)
        {
            ViewBag.dashboardNav = "";
            ViewBag.basicLogNav  = "active";
            var log = _logRepository.FirstOrDefault(x => x.Id == input.Id);;

            return(await View(log));
        }
        public async Task <string> GetException(EnttiyDto input)
        {
            var result = await Conn.QueryFirstAsync <string>($"select exception from log where id = {input.Id}");

            return(result);
        }
        public async Task <string> LogInfo(EnttiyDto input)
        {
            var log = await Conn.QueryFirstOrDefaultAsync($"select * from log where id = {input.Id}");

            return(await View(log));
        }
Example #4
0
        public async Task <string> GetException(EnttiyDto input)
        {
            var result = _logRepository.FirstOrDefault(x => x.Id == input.Id).Exception;

            return(await Task.FromResult(result));
        }