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; }
public List <ClientType> RetrieveAll() { return(clientCrudFactory.RetrieveAll <ClientType>()); }