Exemplo n.º 1
0
 public PurchaseLog(ref CloudBook.Data.PurchaseLog model, string username, bool isVarified = false)
 {
     Time        = model.Time;
     Amount      = model.Amount;
     Description = model.Description;
     ReceiptId   = model.ReceiptId;
     Username    = username;
     isVerified  = isVarified;
     model.Id    = this.Id;
 }
Exemplo n.º 2
0
 public void Update(ref CloudBook.Data.PurchaseLog model)
 {
     Time        = model.Time;
     Amount      = model.Amount;
     Description = model.Description;
 }