Ejemplo n.º 1
0
        public List<Client> RetrieveAll()
        {
            var clients = crudProduct.RetrieveAll<Client>();
            foreach (var client in clients)
            {
                if (client.Active == true)
                {
                    client.State = "Activado";

                }
                else
                {
                    client.State = "Desactivado";

                }
            }

            return clients;
        }
Ejemplo n.º 2
0
 public List <ClientType> RetrieveAll()
 {
     return(clientCrudFactory.RetrieveAll <ClientType>());
 }