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); } }
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); } }