private async Task <ActionResult> GetAllAsync() { try { var result = await readInteractor.GetSomethingListAsync(); return(Ok(result)); } catch (Exception ex) { logger.LogError(ex, "An error occurred"); throw; } }
private async Task <ActionResult> GetAllAsync() { var result = await readInteractor.GetSomethingListAsync(); return(Ok(result)); }