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