public string GetJsonContent(int key, IDictionary <string, string> properties)
        {
            var item = sissyboyRepository.GetReadyForPickupById(key);

            if (item != null)
            {
                var readyForPickupDto = new SissyboyReadyForPickupDto()
                {
                    PoNumber = item.PoNumber
                };

                return(JsonConvert.SerializeObject(readyForPickupDto));
            }
            else
            {
                return(null);
            }
        }
Ejemplo n.º 2
0
        public void GetReadyForPickup()
        {
            var rep = new SissyboyRepository();

            var item = rep.GetReadyForPickupById(1);
        }