public ActionResult ScheduleCreate(ProductScheduleFormModel newProductSchedule, bool continueEditing)
        {
            if (ModelState.IsValid)
            {
                var listAttributeId = _productScheduleAttributeService.GetProductScheduleAttributes().Where(p => p.Type.Equals("Lịch trình")).Select(p => p.Id);
                //Mapping to domain
                ProductSchedule productSchedule = Mapper.Map <ProductScheduleFormModel, ProductSchedule>(newProductSchedule);

                //Create Product Schedule
                _productScheduleService.CreateProductSchedule(productSchedule);

                //Add ProductScheduleAttribute after product created
                productSchedule.ProductScheduleAttributeMappings = new Collection <ProductScheduleAttributeMapping>();
                //var listAttributeId = _productScheduleAttributeService.GetProductScheduleAttributes().Where(p => p.Type.Equals("Lịch trình")).Select(p => p.Id);
                foreach (var id in listAttributeId)
                {
                    productSchedule.ProductScheduleAttributeMappings.Add(
                        new ProductScheduleAttributeMapping()
                    {
                        ProductScheduleAttributeId = id, ProductScheduleId = productSchedule.Id
                    });
                }
                _productScheduleService.EditProductSchedule(productSchedule);
                return(continueEditing ? RedirectToAction("ScheduleEdit", "ProductSchedule", new { productScheduleId = productSchedule.Id })
                                : RedirectToAction("Schedule", "ProductSchedule"));
            }
            else
            {
                var listProduct = _productService.GetProducts().Where(p => p.ProductCategory.Name.Contains("Tour")).ToSelectListItems(-1);
                newProductSchedule.ListProduct = listProduct;
                return(View("ScheduleCreate", newProductSchedule));
            }
        }