public HttpResponseMessage GetTrash() { try { return(Request.CreateResponse(_inventoryRepo.GetTrash(_connectionContext))); } catch (Exception exception) { Console.WriteLine(exception); return(Request.CreateErrorResponse(HttpStatusCode.InternalServerError, "Failed to load inventory.")); } }