Esempio n. 1
0
        public ResponseClass DeserializeCompositeDiscount(Guid sessionID, Guid storeID, Guid discountLeftID, Guid discountRightID, string boolOperator)
        {
            string jsonAnswer = marketFacade.ComposeTwoDiscounts(
                sessionID, storeID, discountLeftID, discountRightID, boolOperator);
            ResponseClass response = JsonConvert.DeserializeObject <ResponseClass>(jsonAnswer);

            return(response);
        }