public async Task <IActionResult> GetAllApplicantVerificationDetails() { lstVerificationDetailsDTO = new List <VerificationDetailsDTO>(); try { lstVerificationDetailsDTO = await objverification.GetAllApplicantVerificationDetails(Con); if (lstVerificationDetailsDTO != null && lstVerificationDetailsDTO.Count > 0) { return(Ok(lstVerificationDetailsDTO)); } else { return(StatusCode(StatusCodes.Status204NoContent)); } } catch (Exception ex) { return(StatusCode(StatusCodes.Status500InternalServerError)); throw new FinstaAppException(ex.ToString()); } }