public async Task <IActionResult> Get() { try { var list = await _appService.FindAllAsync(); return(Ok(list)); } catch (Exception e) { Logger.Error(e); return(StatusCode((int)HttpStatusCode.InternalServerError, "error while getting items")); } }