Exemplo n.º 1
0
        public List <Store> RetrieveAll()
        {
            var s = storeCrud.RetrieveAll <Store>();

            foreach (var store in s)
            {
                if (store.Active)
                {
                    store.State = "Activado";
                }
                else
                {
                    store.State = "Desactivado";
                };
            }

            return(s);
        }
Exemplo n.º 2
0
 public List <Store> RetrieveAll()
 {
     return(storeCrud.RetrieveAll <Store>());
 }
Exemplo n.º 3
0
 public List <Store> RetrieveAll()
 {
     return(crudStore.RetrieveAll <Store>());
 }