Skip to content

Instantly share code, notes, and snippets.

var nwls = await new ClientsProspectsBll().GetTypesNewsletter();
class NewsletterInfo
{
string Libelle { get; set; }
int Id { get; set; }
bool EstAbonne { get; set; }
DateTime? DerniereModif { get; set; }
}
var abons = await new ClientsProspectsBll().GetAbonnements("adresse@email.com");
bool done = await new ClientsProspectsBll().Abonner("adresse@email.com", 1);
bool done = await new ClientsProspectsBll().Desabonner("adresse@email.com", 1);
var lst = await new CartBll().GetPickupLocation(mlvGuid, "59800", "FRA");
GET http://.../app/crosscanal/commandes/2/3da00b00-2263-46aa-88e8-344f7ddfb69c HTTP/1.1
Authorization: basic:RV9....CSUU9
Host: localhost:49525
Connection: Keep-Alive
@simplement-e
simplement-e / sample_import_traduction_articles.txt
Last active June 25, 2017 07:44
Fichier d'exemple pour l'import des traductions
type;code;codeval;lang;trad;desc
ATTRT;saveur;;en;Taste;
ATVAL;saveur;chocolat;en;chocolate;
ATVAL;saveur;fraise;en;strawberries;
SEGMT;bonsbons;;en;sweets;
class InfosLigneDevis
{
string dev_numero { get; set; }
long art_pk { get; set; }
string libelle { get; set; }
decimal qte { get; set; }
decimal? pu_ht { get; set; }
decimal? pu_ttc { get; set; }
string commentaire { get; set; }
bool estOptionnel { get; set; }
class Message
{
Guid Guid { get; set; }
Guid? Uxid { get; set; }
Guid? GroupeGuid { get; set; }
string Sujet { get; set; }
string Details { get; set; }
bool EstTraite { get; set; }
bool EstImportant { get; set; }
string Url { get; set; }