Пример #1
0
        public CategoriesVM()
        {
            Categories              = new Fly_Category();
            CategoriesLocalized     = new Fly_CategoryLocalized();
            Discount                = new Fly_Discount();
            CategoryDiscountMapping = new Fly_Category_Discount_Mapping();

            isPublish = true;
            isDelete  = false;
            isHome    = false;

            ListCategories              = new List <Fly_Category>();
            ListCategoriesLocalized     = new List <Fly_CategoryLocalized>();
            ListDiscount                = new List <Fly_Discount>();
            ListCategoryDiscountMapping = new List <Fly_Category_Discount_Mapping>();
            SelectItemDiscount          = new List <SelectListItem>();
        }
Пример #2
0
 public DiscountVm()
 {
     ListDiscount = new List <Fly_Discount>();
     FlyDiscount  = new Fly_Discount();
     Deleted      = false;
 }