Beispiel #1
0
 public GetErrorLogByIdResult GetErrorLogById(int logId)
 {
     try
     {
         using (var db = new connectionsLinqDataContext())
         {
             var res = db.GetErrorLogById(logId).ToList().First();
             return(res);
         }
     }
     catch (Exception e)
     {
         return(null);
     }
 }