public IActionResult GetDiscrepantRequest()
        {
            try
            {
                // service call to get the records not updated
                List <DiscrepancyReport> reportList = _service.GetAllDiscrepantRecordsList();
                if (reportList.Count == 0)
                {
                    return(this.NotFound("There are no requests pending with the supervisor"));
                }
                return(Ok(reportList)); // returning the report if there is any discrepancy
            }

            catch (TimeoutException e)
            {
                Console.WriteLine(e.StackTrace);
                return(StatusCode(102));
            }
            catch (Exception e)
            {
                Console.WriteLine(e.StackTrace);
                return(StatusCode(500));
            }
        }