Пример #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;
        }
Пример #2
0
 public List <ClientType> RetrieveAll()
 {
     return(clientCrudFactory.RetrieveAll <ClientType>());
 }