private void SetBaseOrder(OrderViewModel b)
 {
     base.AddressId = b.AddressId;
     base.Amount = b.Amount;
     base.Cancelled = b.Cancelled;
     base.CancelledDate = b.CancelledDate;
     base.CreatedBy = b.CreatedBy;
     base.CreatedDate = b.CreatedDate;
     base.Delivered = b.Delivered;
     base.Id = b.Id;
     base.MealId = b.MealId;
     base.Total = b.Total;
 }
 public OrderProgressViewModel(OrderViewModel b)
 {
     base.Amount = b.Amount;
     base.CreatedBy = b.CreatedBy;
     base.CreatedByName = b.CreatedByName;
     base.CreatedDate = b.CreatedDate;
     base.Delivered = b.Delivered;
     base.Id = b.Id;
     base.MealId = b.MealId;
     base.Total = b.Total;
     base.AddressId = b.AddressId;
     base.MealCreatedById = b.MealCreatedById;
 }
 public CancellingOrderViewModel(OrderViewModel b)
 {
     SetBaseOrder(b);
 }