Beispiel #1
0
 private void FillControlls(IDiscountCommand command)
 {
     FillCategories();
     FillStores();
     FillBrands();
     FillTags();
 }
Beispiel #2
0
 private static void AddDiscuont(IDiscountCommand command, Discount discount)
 {
     discount.Name               = command.Name;
     discount.Amount             = command.Amount;
     discount.DiscountLimitation = command.DiscountLimitation;
     discount.Percentage         = command.Percentage;
     discount.StartDate          = command.StartDate;
     discount.EndDate            = command.EndDate;
 }