Example #1
0
        public static OutputDeliveryListViewModel Get(OutputDeliveryList sourceList)
        {
            OutputDeliveryListViewModel list = new OutputDeliveryListViewModel();

            foreach (OutputDeliveryInfo item in sourceList)
            {
                list.Add(OutputDeliveryViewModel.New(item));
            }

            return(list);
        }
Example #2
0
        public static OutputDeliveryListViewModel Get()
        {
            OutputDeliveryListViewModel list = new OutputDeliveryListViewModel();

            OutputDeliveryList sourceList = OutputDeliveryList.GetList(ETipoEntidad.Cliente);

            foreach (OutputDeliveryInfo item in sourceList)
            {
                list.Add(OutputDeliveryViewModel.New(item));
            }

            return(list);
        }