public SerializedCommandDTO(double sum, ContDTO source)
 {
     this.TipTranzactie = "depunere";
     this.suma          = sum;
     this.conturi       = new List <ContDTO>();
     this.conturi.Add(source);
 }
예제 #2
0
 public SerializedResultDTO(ContDTO source, TranzactieDTO sourceTr)
 {
     this.TipTranzactie = "depunere";
     this.conturi       = new List <ContDTO>();
     this.conturi.Add(source);
     this.tranzactii = new List <TranzactieDTO>();
     tranzactii.Add(sourceTr);
 }
 public SerializedCommandDTO(double sum, ContDTO source, ContDTO destination)
 {
     this.TipTranzactie = "transfera";
     this.suma          = sum;
     this.conturi       = new List <ContDTO>();
     this.conturi.Add(source);
     this.conturi.Add(destination);
 }
예제 #4
0
 public SerializedResultDTO(ContDTO source, ContDTO destination, TranzactieDTO sourceTr, TranzactieDTO destinationTr)
 {
     this.TipTranzactie = "transfera";
     this.conturi       = new List <ContDTO>();
     this.conturi.Add(source);
     this.conturi.Add(destination);
     this.tranzactii = new List <TranzactieDTO>();
     tranzactii.Add(sourceTr);
     tranzactii.Add(destinationTr);
 }