Exemplo n.º 1
0
 public ClientBill(string ClientName, List <Receipt> Recepits, YearAndMonth yearAndMonth)
 {
     TotalBill       = 0;
     this.ClientName = ClientName;
     this.Recepits   = Recepits;
     foreach (var item in Recepits)
     {
         TotalBill += item.TotalPayment;
     }
     this.yearAndMonth = yearAndMonth;
 }
Exemplo n.º 2
0
 public BillRequestModel(string ClientID, List <string> Lines, YearAndMonth Date)
 {
     this.ClientID = ClientID;
     this.Lines    = Lines;
     this.Date     = Date;
 }