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);
            }
        }
Exemple #2
0
        public void GetReadyForPickup()
        {
            var rep = new SissyboyRepository();

            var item = rep.GetReadyForPickupById(1);
        }