private KnetikResult<Game> OnLoadWithGame(KnetikApiResponse res) { var result = new KnetikResult<Game> { Response = res }; if (!res.IsSuccess) { return result; } Response = res; if (res.Body["result"]["product_item"].AsObject == null) { result.Response.Status = KnetikApiResponse.StatusType.Error; result.Response.ErrorMessage = "Item not found"; return result; } Game game = new Game(Client); result.Value = game; this.Deserialize(res.Body["result"]); game.Deserialize(res.Body["result"]["product_item"]); return result; }