public ResidentEntity GetResidentByID(string idNumber)
 {
     try
     {
         return(residentRepo.GetByID(idNumber));
     }
     catch (Exception)
     {
         logger.LogError("Error occoured in ResidentService.GetResidentByID");
         throw;
     }
 }