Ejemplo n.º 1
0
        public string IWantToBuyOrderAdd(QueryCommon <IWantToSupplyQuery> query)
        {
            DateTime now = DateTime.Now;
            Result_Model <IWantToSupply> res = iWantToBuyService.GetObjectById_Supply(query.ParamInfo.Id);

            Result_Model <IWantToBuy_Orders> res1 = iWantToBuyService.AddIWantToBuyOrder(res.Model);

            return(Newtonsoft.Json.JsonConvert.SerializeObject(res));
        }