public bool EditTrackingDetails(TrackingDetails det)
        {
            bool res = false;

            try
            {
                res = new TrackingEntries().EditTrackingDates(det);
            }
            catch (System.Exception ex)
            {
                StackFrame frame = null;
                int        line  = 0;
                LogData.GetFrameDetails(ex, out frame, out line);
                LogData.LogExceptionData(ex.Message, frame.GetFileName(), ex.InnerException != null ? ex.InnerException.Message : "No InnerException", line.ToString(), frame.GetMethod().Name);
            }
            return(res);
        }
        public TrackingDetails GetTrackingDetails(string id)
        {
            TrackingDetails det = null;

            try
            {
                det = new TrackingEntries().GetAllTrackingDetails(id);
            }
            catch (System.Exception ex)
            {
                StackFrame frame = null;
                int        line  = 0;
                LogData.GetFrameDetails(ex, out frame, out line);
                LogData.LogExceptionData(ex.Message, frame.GetFileName(), ex.InnerException != null ? ex.InnerException.Message : "No InnerException", line.ToString(), frame.GetMethod().Name);
            }
            return(det);
        }