Ejemplo n.º 1
0
        public List <ModelNotifiedForShippers> GetAllShippers(out string error)
        {
            ShippersGenericREST             ShippersGenericREST      = new ShippersGenericREST(wpfConfig);
            List <ModelNotifiedForShippers> modelNotifiedForShippers = ShippersGenericREST.GetAll <ModelNotifiedForShippers>(100, 0, out error);

            if (!string.IsNullOrEmpty(error))
            {
                return(null);
            }

            //Initializing row status
            foreach (var item in modelNotifiedForShippers)
            {
                item.ItemChanged = false;
                item.NewItem     = false;
            }

            return(modelNotifiedForShippers);
        }