public async Task <IActionResult> GetImports() { try { var imports = await service.GetImportsAsync(); return(Ok(imports)); } catch (Exception ex) { var exceptionResponse = GetExceptionResponse(ex, Request); return(exceptionResponse); } }
public async Task <IActionResult> GetImports() { try { var imports = await service.GetImportsAsync(); return(Ok(imports)); } catch (Exception ex) { var exceptionResponse = GetExceptionResponse(ex, Request); return(exceptionResponse); } }