public async Task <IActionResult> GetLoanTypeList() { try { var response = await _service.GetLoanTypeList(); if (response != null) { return(Ok(response)); } return(StatusCode(StatusCodes.Status204NoContent)); } catch (Exception ex) { throw ex; } }
public async Task <IActionResult> GetLoanTypeList() { try { var response = await _service.GetLoanTypeList(); if (response != null) { return(Ok(response)); } return(StatusCode(StatusCodes.Status204NoContent)); } catch (Exception ex) { throw ex; } }